I have a website consisting of two applications:
- Front Panel
- Backend application
The external interface has a www domain, while the backend has a work subdomain. For example, my frontend application has a domain www.example.com/*, and my backend has a job.example.com/*. My foreground application can be found on one server, while the back end can be on another server . Or they are both stored on the same server.
Now the question is whether the session variables stored in super-global _Session (PHP) can work in different subdomains. If I install _Sesssion["SessionID"]in www.example.com/*, can I get the same _Sesssion ["SessionID"] from job.example.com/*? Do I need to make special adjustments?
source
share