Session Sharing
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   madhavi_g
Posted On:   Monday, September 16, 2002 02:13 PM

How to avoid sharing of same session object by 2 different browsers (requests) ?

Re: Session Sharing

Posted By:   Eelco_Cramer  
Posted On:   Tuesday, September 17, 2002 02:11 AM

A session can't be shared between 2 browsers, however a session can be shared by 2 instances of a single browser (open link in new window or CTRL-N on IE). There is really nothing you can do about it.

Re: Session Sharing

Posted By:   zhaohua_meng  
Posted On:   Monday, September 16, 2002 03:16 PM


Two different browsers would not share session.


Run the following jsp and request the page with different browser, you will find the session id is different.


<%
String sessionId=session.getId();
%>


Session ID: <%=sessionId%>


About | Sitemap | Contact