This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cookie-Session relation

 
Brusk Baran
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64830
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Under Windows at least, IE windows created via Ctrl-N will share cookies with the original window.
hth,
bear
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic