aspose file tools*
The moose likes Servlets and the fly likes same session across browsers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

same session across browsers

Rizwan Mohammad
Ranch Hand

Joined: Sep 02, 2005
Posts: 445
Hi,
I am trying to access one of my applications in websphere server. But I am facing one strange problem here.
Though I open two different instances of browser(not by Ctrl+N or popup) both are using same session.
When I print jsessionid cookie and session id values, both browser instances print different jsessionid cookie values
but with same session id. How can this scenario be possible? With this scenarios, my session values aree getting messed up
from both browsers.
Here i am displaying session id and jsession cookie values from both browsers.

From browser 1:
jsessionid cookie value = 0000APUj7MW7vLTX3SMMeXZgwrf:11c2ij3kd
session.getID() = FYf00DbhZASZXhr4HLSO40K

From browser 2:

jsessionid cookie value = 0000FYf00DbhZASZXhr4HLSO40K:11c2ij3kd
session.getID() = FYf00DbhZASZXhr4HLSO40K


Rizwan
SCJA, SCJP, SCWCD, SCBCD, SCDJWS.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61180
    
  66

Please continue this issue in your previous topic on bross-browser sessions.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: same session across browsers