• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

same session ID in Netscape but not in IE

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a struts application running on tomcat 5 which issues sessions. When using Netscape 7, and opening the same application in another broswer window, the same session ID is used in both browser windows; unlike IE which actually issues a separate session ID for both browser windows.

I am not sure where the problem lies here: Tomcat, struts, or Netscape? The desired functionality is to have separate session ID for each browser window.

Any advice would be appreciated.
 
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is a feature of how browser return the cookie containing jsessionid (the one identifying the session id). It got nothing to do with container nor struts.
 
Ed Chawlik
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Alec for cllarifying this. Any suggestions on how to code around this.

When a second duplicate session in another browser window is brought up, it can clobber the variables of the original session. This has to be a commonly addressed issue, but I cannot find much information on this.

I know there was a problem with an old version of Netscape 4.7, but this is version 7!

How do struts programmer address this?

Thanks.
 
Ed Chawlik
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This has got to be a Tomcat setting. I now understand this is a session cookie, stored in memory by the browser. The Tomcat server or struts configuration which determines the setting of the cookie must not be giving the session enough unique information to create a separate session cookie. However, I am still wondering how MS IE is doing it. Is there a way to view session cookies in IE?
 
reply
    Bookmark Topic Watch Topic
  • New Topic