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 Cookie-Session relation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Cookie-Session relation" Watch "Cookie-Session relation" New topic
Author

Cookie-Session relation

Brusk Baran
Ranch Hand

Joined: Nov 15, 2001
Posts: 132
I know that session sends the cookie in order to recognize the user the next request he attempts.
What happens exactly when I make a CTRL-N at Internet Explorer for example..
or open another IE window, or another type of Browser?
is the cookie the same??
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61606
    
  67

Under Windows at least, IE windows created via Ctrl-N will share cookies with the original window.
hth,
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

the behavior is totally dependent on the browser.
From what I understand: if you open another IE window by double clicking on the icon -- that window will have a DIFFERENT session from the other. If you open another IE window by hitting Ctrl+N of File|New they will SHARE session.
For other browsers such as Opera and Netscape -- no matter how you open the other windows, you will still SHARE session between the windows.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cookie-Session relation