aspose file tools*
The moose likes Servlets and the fly likes IE6 and ServletSession Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "IE6 and ServletSession" Watch "IE6 and ServletSession" New topic
Author

IE6 and ServletSession

Bhupesh Kokate
Greenhorn

Joined: Jul 18, 2003
Posts: 22
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

Joined: Jun 26, 2001
Posts: 403
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

Joined: Jul 18, 2003
Posts: 22
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

Joined: Mar 11, 2002
Posts: 1140
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?


Mani
Quaerendo Invenietis
Bhupesh Kokate
Greenhorn

Joined: Jul 18, 2003
Posts: 22
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

Joined: Jun 26, 2001
Posts: 403
What's Siteminder?
Bhupesh Kokate
Greenhorn

Joined: Jul 18, 2003
Posts: 22
What's Siteminder?

http://www.netegrity.com/products/products.cfm?page=SMfaqs
James Swan
Ranch Hand

Joined: Jun 26, 2001
Posts: 403
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

Joined: Jul 18, 2003
Posts: 22
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

Joined: Mar 11, 2002
Posts: 1140
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

Joined: Jul 18, 2003
Posts: 22
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

Joined: Jun 26, 2001
Posts: 403
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

Joined: Jul 18, 2003
Posts: 22
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IE6 and ServletSession