File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Session in new browser window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session in new browser window" Watch "Session in new browser window" New topic

Session in new browser window

anuj sahai

Joined: Dec 02, 2000
Posts: 8
i had a question as to what happens when we use ctrl+n to open a new browser window. Is it the same session id or a different session id.
Is there a diff in the way this is handeled in IE and netscape.....
Robert Gagliardo

Joined: Nov 15, 2001
Posts: 24
the same session ID is used as long as cookies are enabled.
Jessica Sant

Joined: Oct 17, 2001
Posts: 4313

Also realize... if the user is using Netscape, and opens a new window (even from the Netscape icon) they will always have the same session ID...
but if they're using IE, when they open a new window from the icon, they'll have a new ID, but if they use Ctrl+N, it will be the same.

- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
I agree. Here's the link:
subject: Session in new browser window
It's not a secret anymore!