• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IE6 and ServletSession

 
Bhupesh Kokate
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
has anybody faced problem with IE6 and Servlet session ? When i open another instance of browser(IE6)it consider me in the same servlet session of prev browser window. The same was not with IE5 or 5.5.
Thanks
Bhupesh
 
James Swan
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep, noticed it too.
But only when you select [file]-->[new]-->window
It seems to retain cookie info from the current window.
But if you go to the [start] menu and select a new IE6 instance, all the cookie info is clear.
 
Bhupesh Kokate
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But only when you select [file]-->[new]-->window

but i see same after taking new instance ... i am using Siteminder .. does it make difference ?
 
Mani Ram
Ranch Hand
Posts: 1140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by James Swan:
Yep, noticed it too.
But only when you select [file]-->[new]-->window
It seems to retain cookie info from the current window.
But if you go to the [start] menu and select a new IE6 instance, all the cookie info is clear.

But the "File - New - Window" (or a CTRL+N) was retaining the session information in IE 5.0 & IE 5.5 versions also. Isn't it?
 
Bhupesh Kokate
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But the "File - New - Window" (or a CTRL+N) was retaining the session information in IE 5.0 & IE 5.5 versions also. Isn't it?

Yes... Thats true about 5.0 and 5.5 and 6.0 also ... but not in case of new instance in 5.0/5.5 but, in 6.0 new instance is also like crtl + N.
Bhupesh
 
James Swan
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's Siteminder?
 
Bhupesh Kokate
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's Siteminder?

http://www.netegrity.com/products/products.cfm?page=SMfaqs
 
James Swan
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well having a brief read of what Siteminder does (single sigon etc, proxying), I would say it's a good chance that it is messing with things.
 
Bhupesh Kokate
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would say it's a good chance that it is messing with things.

Nope ... i Have tried without Siteminder.
And, also tried printing the sessioID for the session using session.getID() ... its same for both the browsers. How is it possible... ??? Two different brwoser(NOT ctrl + N) are getting same session id... I mean servlet engine is not giving new session to the request from new brower instance ONLY in case of IE6.
I can workaround the problem but, I was wondering if somebody already faced such problem wit IE6...
Thanks
Bhupesh
 
Mani Ram
Ranch Hand
Posts: 1140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm...that is strange.
I just cross-checked with my application, and there is no problem with the session (with IE 6).
And what is the workaround you have to solve it?
 
Bhupesh Kokate
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just cross-checked with my application, and there is no problem with the session (with IE 6).

Blieve me...its happening with me ... I dont know why ...
Well... abt workaround...I was thinking about chking some parameteres passed from first JSP page and again check with the sessionID with previous sessionID ... I know its not realistic but ...
Bhupesh
 
James Swan
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you give more background on the problem?
- does this problem happen with other browser? (Netscape etc)
- have you changed any of your IE6 settings from the defaults (are you patched to the lastest version)?
- what's your appserver, and has anyone changed any configuration in regard to sessions, for example setting the max-age attribute etc?
- have you tried debugging the http request/responses to see what the actual cookie headers are being set to?
 
Bhupesh Kokate
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
does this problem happen with other browser? (Netscape etc)

No... this doesnt happen with other browsers.
have you changed any of your IE6 settings from the defaults (are you patched to the lastest version)?

its latest version. I am using XP.
what's your appserver, and has anyone changed any configuration in regard to sessions, for example setting the max-age attribute etc?

no I havent done so ...
have you tried debugging the http request/responses to see what the actual cookie headers are being set to?

As i mentioned earlier ... i tried printing session id. Its same. I donot use cookies. I think if cookies or header was the case it should happen in case of IE5 or IE5.5.

Thanks
Bhupesh
[ September 18, 2003: Message edited by: Bhupesh Kokate ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic