• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

new IE -> new session, but new Firefox -> same Session ?

 
Jan Paul Vos
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While experimenting with session i noticed the following. If i call a sertain servlet from Firefox, there is a sessionid with let's say 1. if i call the same Servlet from a new IE window, i get a new sessionid ='2'. If i then open the same again in Firefox, the sessionid was the same as the first call; '1'. However,m everytime i open a new IE window, i get a new sessionid, AND not with firefox. Anybody any clues?

Thanx.
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you are talking about the example in page 259. Its probably because you open a new tab in the same firefox instance. So only same number is coming again and again. Where as you should be opening new IE window every time resulting in new number.
 
Jan Paul Vos
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have not used tabs in Firefox, but new instances of Firefox (new window, lik with IE)....
 
Mat Williams
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,

A similar thing happens with Opera.

I am not certain as to why but I think it has something to do with the way that the applications are written.

I think that either the GUI component of Firfox (the bit you see) just talks with a non gui bit that does most of the communication work and caching, cookies etc, or for every instance of firefox there is only one instance of the cache, and cookies etc which every gui talks with.

Either of these could give the results that you are experiencing and I have also seen in Opera. My guess is that it is probably the second one, but I really have very little to base this on.

Mat
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic