File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes same session across browsers Big Moose Saloon
  Search | Java FAQ | Recent Topics
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: 56151
    
  13

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: same session across browsers
 
Similar Threads
tomcat session handling
distinguishing 2 browsers in the same session.
Problem with session management
same session across browsers
session problem