none
IE 7 and IE8 not applying cookies appropriately RRS feed

  • Question

  • 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 causes the weblogic to return me to the Login page on the second page for subdomain.

    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

    

    

    Friday, July 13, 2012 5:07 PM

Answers

  • Hi,


    We may disable Cookies of IE8 for a test.


    1. Click Start, type in “inetcpl.cpl” and press Enter.

    2. Switch to Privacy tab, and then, under Settings, move the slider to the top to block all cookies or to the bottom to allow all cookies, and then click OK.


    Note:
    Blocking cookies might prevent some webpages from displaying correctly.


    Now, try to access the sub domain again.


    If the issue persists, we may press Alt key and click File\New session to test the issue also.

    In addition, you can post this problem on MSDN forum also.

    http://social.msdn.microsoft.com/Forums/en-US/categories


    Kim Zhou

    TechNet Community Support

    Tuesday, July 17, 2012 9:25 AM
    Moderator