
- Forum
- Programming Talk
- Java
- Multiple Client Sessions
Multiple Client Sessions
This is a discussion on Multiple Client Sessions within the Java forums, part of the Programming Talk category; Dear all, Is it possible to create more than one session for a single client? Kindly show me how to ...
-
11-19-2011, 06:29 AM #1
- Join Date
- Jan 2006
- Answers
- 12
Multiple Client Sessions
Dear all,
Is it possible to create more than one session for a single client? Kindly show me how to do this
-
Session id are either stored in Cookie on the user side or is propagated in the URL. In case the session id is stored in a cookie at user side you may not be able to create more than one session for a single client as cookies are set per-client, not per-window.
Furthermore, cookies can be of either single-session cookies or persistent cookies. Among these, single-session cookies are stored in the browser's memory cache, whereas persistent cookies limit one per client browser and are stored on local HDD.
However if the session id is propagated in the URL then you can achieve it by making use of URL rewriting, hidden fields, etc., specifying the session ID on each page.

Reply With Quote





