jQuery in Action, 2nd edition*
The moose likes Servlets and the fly likes same sessionid Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "same sessionid" Watch "same sessionid" New topic
Author

same sessionid

aminur rashid
Ranch Hand

Joined: Sep 21, 2001
Posts: 79
Hi,
I have two application running in a single browser(Say two login pages in Internet explorer separated in frames).
Now i sent a request to login from both the frames.
After getting the response from the container i m printing the session id of HttpSession.What I get is same session id in both the frame.
However if i printed the session object itself i got two different objects.
Now i am unable to understand how two different request printed the same session Id but the different session object.
And if the session id for two application is same then can i set an attribute to the session from one application and retrieve it from the other window.
Is it the case that Internet explorer carries the same session across different window?
Amin


Regards<br />Aminur
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: same sessionid
 
Similar Threads
Session identification
Tomcat 7 maintaining more than one session
cookies exist when we close browser?
how to check whether the session is valid or not?
How HttpSession is not thread safe