coldfusion - Login to coldbox application when login to core project -


i have following project structure..

 www    core project files , folders    ticketsystem (coldbox project) 

ticket system built on framework coldbox 3.0.0. want user automatically logged in ticket system login our core project , share application , session variables between 2 projects.

following steps have tried.

  1. to share session , application variables define same application name in root project , coldbox project , seems work fine.
  2. to login ticket system call security.dologin handler through cfhttp while login core project pass session.urltoken make sure use same application , session variables.

but still not satisfied this. looking proper solution share data/call model between coldbox , non-coldbox application.

i appreciate feedback on this.

thanks pritesh

have thought using session cookie user logged in? work if on same domain. you'll want encrypt user identifier in cookie. don't usserid = 1 change value gain access user's account.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -