I have a website that consists of 2 applications:
- Front end application
- Backend application
The front end has the www domain, whereas the backend has the job subdomain. For example, my front end application has the domain www.example.com/*
, whereas my backend as the job.example.com/*
. My front end application can locate on one server, whereas the back end can locate on another server. Or they are both stored on the same server.
The question now is whether the session variables I stored in the super global _Session ( PHP) can work across different sub domain. If I set _Sesssion["SessionID"]
in www.example.com/*
, can I retrieve the same _Sesssion["SessionID"] from job.example.com/*
? Do I need to do special configuration to work?