I am having two CakePHP application working on the same domain.
They are located at localhost:8080/wishlist and localhost:8080/lighthouse.
"Wishlist" and "lighthouse" are each separate CakePHP applications.
The login page is at localhost:8080/lighthouse, and I want the session generated by the lighthouse application to be used in the wishlist application.
The directory structure is
/htdocs
/wishlist
/app
/config
....
/lighthouse
/app
/config
....
I have edited the core.php file for each application. I am using the same session cookie name and the same security sale but I am not able to get the session on the wishlist application.
How can I share a session in between my two applications?
/htdocs/wishlist/config,/htdocs/lighthouse/config,/htdocs/cake,/htdocs/vendors. By convention, this would allow both applications to share the same cake installation and global vendors directory without any manual configuration, and it would respond to the same URLs. A common mistake is thinking that theappdirectories cannot be renamed, which isn't the case. :) - deizel