aspose file tools*
The moose likes Other Application Frameworks and the fly likes IE8 not handling cookies appropriately Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "IE8 not handling cookies appropriately" Watch "IE8 not handling cookies appropriately" New topic
Author

IE8 not handling cookies appropriately

jimmy nautak
Greenhorn

Joined: Jul 12, 2012
Posts: 3
I have two domains (primary and secondary) mapped to 127.0.0.1 in the hosts file. I have web application deployed on weblogic.

127.0.0.1 mysystem.comp.com

127.0.0.1 sub.mysystem.comp.com

Now I open up IE8 and go to primary domain i.e. ?http://mysystem.comp.com:7001/ and login successfuly. The session cookie I see in the response is

WLCookie=nYXNQQXRZp7dQdGXLy1dhylQZbtPdJFTjp9f81s5926PQyG04nPb!1416791498

Now I open another tab in the same browser window of IE8 and try to navigate to subdomain. Now the subdomain also has the cookie from primary domain. Though I try to clear it by setMaxAge(0), setPath("/"), setdomain, however this cookie does not clean out which I guess causes the weblogic to return me to the Login page on the second page for subdomain. I see two cookies in subdomain response

WLCookie=tCnnQQTY4vp3f2rnNlwWSHvXy1GylYFcXFTvx1192spLzTdjSNQZ!1416791498;
WLCookie=nYXNQQXRZp7dQdGXLy1dhylQZbtPdJFTjp9f81s5926PQyG04nPb!1416791498

This does not happen if instead of a tab I open up a new browser window.

This issue does not occur on firefox, chrome. Please provide a solution to this issue
jimmy nautak
Greenhorn

Joined: Jul 12, 2012
Posts: 3
Can someone please respond to this issue? Thanks in advance
 
 
subject: IE8 not handling cookies appropriately
 
Similar Threads
Firefox overwrites other session's (window's) Cookie.
Issue with IE7 and IE8 (possibily due to cookies)
yahoo mail, gmail setup in my web application
Passing username from Java Application using httpHeader to OBIEE server
Problems with lost sessions