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.
- to share session , application variables define same application name in root project , coldbox project , seems work fine.
- 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
Post a Comment