Reputation: 120
what happens if two different application opened at the same-time in one browser and both are using sessions? is other application is able access session variables of other application? if so how to solve this problem. may be this question look meaningless but it is hunting from so many days !
Upvotes: 1
Views: 1212
Reputation: 943510
Sessions are normally handled by storing a session ID in a cookie which is associated with a given hostname (although can be shared across multiple hostnames which are on the same domain). Cookies can also be limited to subdirectories.
The session data is stored on the server.
If the two applications were running on the same server, on the same domain name, then the possibility is there for them to share data through a shared session store.
Upvotes: 2