IE7 cookie problem<span style="color:rgb(128, 0, 0)">Can anyone help with the following.<br><br>When I log on to a web page,  a session is created and saved using in-proc cookies which are saved in the IE7 client browser. When a new window is opened in the same session and then closed, the cookies are deleted and the session is lost, even though the first window is still opened. The session was not closed. This happens only on certain  PCs, not always and only with IE7</span><span style="color:rgb(128, 0, 0)">. This problem</span><span style="color:rgb(128, 0, 0)"> is only with IE7, all other browsers are ok. Is this a problem we have to put up with or will it be fixed by the IE developers?<br><br>greetings<br></span>© 2009 Microsoft Corporation. All rights reserved.Thu, 08 Oct 2009 14:12:06 Z2d989cdd-7d88-46af-bedf-b87a0cb6695chttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#2d989cdd-7d88-46af-bedf-b87a0cb6695chttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#2d989cdd-7d88-46af-bedf-b87a0cb6695cBod14http://social.msdn.microsoft.com/Profile/en-US/?user=Bod14IE7 cookie problem<span style="color:rgb(128, 0, 0)">Can anyone help with the following.<br><br>When I log on to a web page,  a session is created and saved using in-proc cookies which are saved in the IE7 client browser. When a new window is opened in the same session and then closed, the cookies are deleted and the session is lost, even though the first window is still opened. The session was not closed. This happens only on certain  PCs, not always and only with IE7</span><span style="color:rgb(128, 0, 0)">. This problem</span><span style="color:rgb(128, 0, 0)"> is only with IE7, all other browsers are ok. Is this a problem we have to put up with or will it be fixed by the IE developers?<br><br>greetings<br></span>Sun, 11 Feb 2007 13:15:19 Z2007-05-07T20:09:05Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#f836b4cd-c2b4-41ac-b5b5-d95cf67818echttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#f836b4cd-c2b4-41ac-b5b5-d95cf67818ecEricLaw-MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=EricLaw-MSFTIE7 cookie problem<p>Please take a capture with Fiddler (<a title="http://www.fiddlertool.com/fiddler/help/log.asp" href="http://www.fiddlertool.com/fiddler/help/log.asp">www.fiddlertool.com/fiddler/help/log.asp</a>) and send it to me (ericlaw @ microsoft).  Thanks!</p> <p>Eric Lawrence</p> <p>PM - IE Networking</p>Fri, 16 Feb 2007 07:26:42 Z2007-02-16T07:26:42Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#ae738d90-c051-4249-af1a-c0489b728460http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#ae738d90-c051-4249-af1a-c0489b728460Bod14http://social.msdn.microsoft.com/Profile/en-US/?user=Bod14IE7 cookie problem<p>I'm not sure if I sent the mail to the right address, I sent it to <a title="mailto:ericlaw@microsoft.com" href="mailto:ericlaw@microsoft.com">ericlaw@microsoft.com</a>, I assume your address is at .com</p> <p>regards</p>Fri, 16 Feb 2007 13:56:42 Z2007-02-16T13:56:42Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#c82b214f-a276-454e-a243-f53c8d468d2ahttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#c82b214f-a276-454e-a243-f53c8d468d2aspinnshttp://social.msdn.microsoft.com/Profile/en-US/?user=spinnsIE7 cookie problemI am having the same problem -so if there is a fix, please let me know too.Thu, 15 Mar 2007 21:55:00 Z2007-03-15T21:55:00Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#b0ee6254-3024-43b2-972e-3098e157636chttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#b0ee6254-3024-43b2-972e-3098e157636cBod14http://social.msdn.microsoft.com/Profile/en-US/?user=Bod14IE7 cookie problemThis is an IE7 bug. The session cookies are getting deleted when you close a window. At the moment no fix exists accept not to use cookies for your session variables. The problem only exists on certain computers. The problem will not occur as often if you change your settings in Tools/Internet Options/General/Browser History Settings/Everytime I visit the web page. <br><br>A suggestion from a microsoft help suggests that the start home page in the IE7 should be set to a internet page and not a local file. When you open your IE7, does your set default home page open, if not download the script to fix this supplied here <a title="http://www.enhanceie.com/ie/troubleshoot.asp" href="http://www.enhanceie.com/ie/troubleshoot.asp"><font color="#810081"><u>http://www.enhanceie.com/ie/troubleshoot.asp</u></font></a>Wed, 21 Mar 2007 14:07:14 Z2007-03-21T14:07:14Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#e0c84f8b-cb72-42fd-b999-b89dba8eef26http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#e0c84f8b-cb72-42fd-b999-b89dba8eef26spinnshttp://social.msdn.microsoft.com/Profile/en-US/?user=spinnsIE7 cookie problem<p>This sounds like a big problem.  Why hasn't Microsoft come up with a patch yet?  I can understand if this was an issue with an off brand computer, but my computer is a 4 month old Dell Demension.  </p> <p> </p> <p>Would I be better off reloading with an older version of IE?  Right now I have to use FireFox for half of the websites I go to for my company work -it's a true pain to have two web browsers to switch between.  Especially when I've gone through 3 webpages to upload information to the company website (which takes 2 minutes) and at the end it says my session has expired which is set for 20 minutes.  Then I have to load FoxFire and redo my work.  You're going to lose me as an IE user if there isn't a patch soon!</p>Fri, 30 Mar 2007 20:35:17 Z2007-03-30T20:35:17Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#81eae641-30ba-4a2c-9b70-a1a084bc3e9fhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#81eae641-30ba-4a2c-9b70-a1a084bc3e9fAnonymous15824http://social.msdn.microsoft.com/Profile/en-US/?user=Anonymous15824IE7 cookie problem<p>Have the same problem my self with a couple of sites.</p> <p>When closing popup-window it deletes the session-cookie from the original window. Must login again.</p> <p> </p> <p>Is this designed or a bug that will be fixed?</p> <p> </p> <p>Works like a charm with ie6 and firefox.</p> <p>Have stopped IE7 until problem solved.</p>Tue, 03 Apr 2007 12:06:39 Z2007-04-03T12:06:39Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#3c573c28-d19e-442b-8d90-3c17dfcdf161http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#3c573c28-d19e-442b-8d90-3c17dfcdf161Josh Yeagerhttp://social.msdn.microsoft.com/Profile/en-US/?user=Josh%20YeagerIE7 cookie problem<p>I have the same problem. My company has an ASP.NET web app that uses popup windows for some of its features. Sometimes (but not always) when an IE7 user opens one of those popups, their session is lost in both the popup and the main window. It works fine in Firefox, Safari, and IE6. I can't find any info about this problem, other than this thread.</p> <p> </p> <p>What is the cause of the problem? Are there any workarounds? When is a patch going to be available?</p> <p> </p> <p>Thanks,</p> <p>Josh Yeager</p>Tue, 10 Apr 2007 20:46:37 Z2007-04-10T20:46:37Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#58b50fb4-df6c-405b-8ab3-92e0c28cc06ehttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#58b50fb4-df6c-405b-8ab3-92e0c28cc06eEricLaw-MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=EricLaw-MSFTIE7 cookie problemIs anyone routinely encountering this issue with a <em>non-local</em> homepage specified in your Internet Options?Wed, 18 Apr 2007 06:01:27 Z2007-04-18T06:01:27Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#d99ef0c0-7131-41b6-87f7-a2e1cb2fbe6fhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#d99ef0c0-7131-41b6-87f7-a2e1cb2fbe6fJosh Yeagerhttp://social.msdn.microsoft.com/Profile/en-US/?user=Josh%20YeagerIE7 cookie problem<p>I had a local homepage, and about once a week it would start doing this. It would keep doing it for a while, and then stop.</p> <p> </p> <p>About a week ago, I changes my homepage to be an Internet site, and the problem hasn't happened since. But, it hasn't been long enough for me to definitively say that the problem is gone.</p>Wed, 18 Apr 2007 12:40:07 Z2007-04-18T12:40:07Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#ca15a2a6-6e20-4b85-94d7-828abde6c8bbhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#ca15a2a6-6e20-4b85-94d7-828abde6c8bbrnienhuishttp://social.msdn.microsoft.com/Profile/en-US/?user=rnienhuisIE7 cookie problem<p>I'm experiencing the same problem. My company delivers an Asp.Net based portal application that makes some use of encrypted session cookies. This application is used by hospital patients e.g. to schedule appointments and obtain personalised patient-information. As you will understand we can not influence browser-settings of our end-users (as we don't know them) . Tests with IE7 showed us the the deleted session cookie problem as described.  </p> <p> </p> <p>Can you tell me how you know this is an IE7 bug? Is there a bug-report available somewhere? Does anyone know why Asp.Net FormsAuthentication does not suffer from the same problem ?</p> <p> </p> <p>Thanx</p> <p> </p>Thu, 19 Apr 2007 21:24:35 Z2007-04-19T21:24:35Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#239a1a07-12f5-4025-ba37-2a4568f74836http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#239a1a07-12f5-4025-ba37-2a4568f74836Harold Osmundsonhttp://social.msdn.microsoft.com/Profile/en-US/?user=Harold%20OsmundsonIE7 cookie problem<p>I also see this problem and have clients that do as well.  We all have local homepages and use IE7 on XP SP2.  I don't experience this problem on my home PC, which has Vista Utlimate Edition.  No combination of settings, homepages, and scenarios made this problem appear on Vista.</p> <p> </p> <p>Using a local homepage, this problem shows up when I navigate to a site by clicking on the link from the local homepage.  However, the problem doesn't show up if I manually type in the URL and use the site from there (regardless of local vs. non-local homepage).</p> <p> </p> <p>When I specify a non-local homepage and change no other setting, the problem goes away completely.  It's a night and day difference in behavior, so it does seem as if having a local homepage is the difference.</p> <p> </p> <p>Is there any acknowledgement from Microsoft on this behavior/problem, and/or possibly a fix for it?  A KB article would help explain the issue, provide workarounds, and help set expectations for those impacted by this.</p> <p> </p> <p>Outstanding work on Fiddler.</p>Sun, 29 Apr 2007 04:37:42 Z2007-04-29T04:37:42Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#38d68bf8-d7f7-4bc7-b125-886dd0b7813ahttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#38d68bf8-d7f7-4bc7-b125-886dd0b7813aEricLaw-MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=EricLaw-MSFTIE7 cookie problem<p>Thanks for the feedback.</p> <p> </p> <p>This is a known problem in IE when you have a local homepage or open IE from a file on disk, rather than starting IE by navigating to a remote site.  The KB article will be published when the patch is available (we're working on this issue now).</p> <p> </p> <p>Thanks,</p> <p> </p> <p>Eric</p>Mon, 07 May 2007 20:08:58 Z2007-05-07T20:09:05Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#2ec4e384-8eac-4ab3-8a73-92c059989bb6http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#2ec4e384-8eac-4ab3-8a73-92c059989bb6Andry Shechterhttp://social.msdn.microsoft.com/Profile/en-US/?user=Andry%20ShechterIE7 cookie problemWhat's the staus of this issue? When are you going to release the fix?Wed, 04 Jul 2007 10:30:17 Z2007-07-04T10:30:17Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#8b40efd5-41bd-4639-baf6-c50cc2fa6f01http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#8b40efd5-41bd-4639-baf6-c50cc2fa6f01John.T.Fhttp://social.msdn.microsoft.com/Profile/en-US/?user=John.T.FIE7 cookie problemI had this problem - adding the domain in question to the IE7 'trusted sites' fixed it...<br>Tue, 07 Aug 2007 10:47:13 Z2007-08-07T10:47:13Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#552a3a09-af69-4af6-b6cc-333799c9301bhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#552a3a09-af69-4af6-b6cc-333799c9301btinomenhttp://social.msdn.microsoft.com/Profile/en-US/?user=tinomenIE7 cookie problemI'm getting this error when my home page is set to gmail and an external site has a frame pointing to another site. that other site happens to be my site and my cookies are deleted. I also noticed that the set-cookie header expiration value was a over 12 hours old. causing the cookie to expire. on firefox the header showed 2 hours in the future as it was set in the asp.net code.<br>Tue, 07 Aug 2007 23:13:20 Z2007-08-07T23:13:20Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#1eede8e7-3607-403e-858a-ac869239657ehttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#1eede8e7-3607-403e-858a-ac869239657eJohn.T.Fhttp://social.msdn.microsoft.com/Profile/en-US/?user=John.T.FIE7 cookie problemp.s. didn't really fix it - only for a while - the problem seems to occur randomly <img src="http://forums.microsoft.com/MSDN/WebResource.axd?d=NySzF1eivP_rMoc50GQJzcvS4MHMOEKwYrCIgDtzuzlw7GsNki3H_INlfYaLgkxFSSG0MZbJ1z6uFFjZvu3APg2&amp;amp;t=633142628060000000"><br>Mon, 13 Aug 2007 14:45:17 Z2007-08-13T14:45:17Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#aa41fa98-c8cf-4f8d-8cce-ac1867f638f5http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#aa41fa98-c8cf-4f8d-8cce-ac1867f638f5IrvShttp://social.msdn.microsoft.com/Profile/en-US/?user=IrvSIE7 cookie problem<p><font face="Times New Roman">Eric, it has been a long time since you posted this...</font></p> <p align=left><font face="Times New Roman"></font> </p> <p align=left><font face="Times New Roman">What is the KB Article?</font></p> <p align=left><font face="Times New Roman"></font> </p> <p align=left><font face="Times New Roman">I think, but am not 100% sure, this problem started for me once I installed CA's Internet Security Suite? However, FireFox works fine.</font></p> <p align=left><font face="Times New Roman"></font> </p> <p align=left><font face="Times New Roman">Any resolution on this?</font></p> <p align=left><font face=Arial size=2></font> </p>Sat, 25 Aug 2007 14:11:53 Z2007-08-25T14:11:53Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#b6623920-61b2-4d23-81db-e0655ca367cfhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#b6623920-61b2-4d23-81db-e0655ca367cfMarvinHhttp://social.msdn.microsoft.com/Profile/en-US/?user=MarvinHIE7 cookie problemAlmost a month has passed Eric.  What's up with that fix? <br><br>I had a web application running in IE6: then I upgraded to IE7.  Now my clients have to log in for every transaction just because the receipt was in a popup window. My clients don't like having to log in everytime they complete a transaction. <br><br>I guess I'll just install Firefox on all my clients computers.  I didn't need this pain. <br><br>Marvin <br><br>/PANIC now, avoid the rush. <br> <div style="display:none;z-index:1000;width:28px;position:absolute;height:28px"></div>Wed, 19 Sep 2007 03:17:15 Z2007-09-19T03:17:15Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#098ae37a-d02b-43a5-8095-9a51d1fc3589http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#098ae37a-d02b-43a5-8095-9a51d1fc3589Marcelo Milhomemhttp://social.msdn.microsoft.com/Profile/en-US/?user=Marcelo%20MilhomemIE7 cookie problemI Had this problema now with my cookies that expires in 15 min and the problem only occours in some computers, and i solved adjusting the timezone of this computers, my case is that here in Brazil the timezone change and is needed to be fixed with tzedit.exe <a title="http://support.microsoft.com/kb/914387" href="http://support.microsoft.com/kb/914387">http://support.microsoft.com/kb/914387</a> <br><br>Hope this help someone.<br>Mon, 22 Oct 2007 19:49:58 Z2007-10-22T19:49:58Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#3c1963c5-25a8-4881-b298-2259d66bd352http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#3c1963c5-25a8-4881-b298-2259d66bd352rpin78http://social.msdn.microsoft.com/Profile/en-US/?user=rpin78IE7 cookie problemIt seems IE7 has some issues keeping some sessions cookies correctly. Some people have described this as a time zone issue some others as a local homepage issue. my problem is that some of my users are logged in to the intranet site using IE7. But after sometime they start getting js errors that occur when trying to execute actions that normally rely on some session information kept in cookies. This is only happening with some machines, the only constant are the information that is needed to complete the action and the browser IE7. is there any info out there on how to defeat this?<br>Thu, 06 Dec 2007 18:22:06 Z2007-12-06T18:22:06Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#f554001f-101e-43b0-a121-fd2e85320e1ahttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#f554001f-101e-43b0-a121-fd2e85320e1aaditya2khttp://social.msdn.microsoft.com/Profile/en-US/?user=aditya2kIE7 cookie problem<p>Hi Eric,</p> <p align=left> </p> <p align=left>I know it's been 9 months since you asked this question, but I routinely face this problem (100% of the time) irrespective of whether my home page is local, internet, or just 'about:blank'. I've played around with security settings as well, but to no avail. It's a weird problem, because I don't face this issue on another system. Both systems are running IE7 on Windows XP Pro SP2.</p> <p align=left> </p> <p align=left>-Aditya</p> <p align=left><font face=Arial size=2></font> </p>Fri, 11 Jan 2008 03:21:18 Z2008-01-11T03:21:18Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#e3125888-1a0e-4fd8-b608-23b6d389298ehttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#e3125888-1a0e-4fd8-b608-23b6d389298eBob79http://social.msdn.microsoft.com/Profile/en-US/?user=Bob79IE7 cookie problem<p align=left><font face=Arial size=2>I am having the problem where IE7 does not save cookies.  I have tried all the settings and now have the internet sites set to allow all cookies and still they don't get saved.  I have verified this by logging into hotmail and checked save password then gone into the cookies folder.  Does anyone have a fix for this?</font></p> <p align=left>Thanks</p>Thu, 31 Jan 2008 14:42:15 Z2008-01-31T14:42:15Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#cb6bb41b-4329-48e6-a9ef-19ac189764b4http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#cb6bb41b-4329-48e6-a9ef-19ac189764b4Fairmonthttp://social.msdn.microsoft.com/Profile/en-US/?user=FairmontIE7 cookie problem<p align=left>Just Curious is there is any update on this problem.  </p> <p align=left> </p> <p align=left>I have this problem constantly. One work around I have found it open another window/tab to any other site and never close it.  That keeps the cookies in place.  It seems a rather major blunder to have not caught this problem.</p> <p align=left> </p> <p align=left>Maybe they will fix the problem in IE8 and just ignore IE7.</p> <p align=left> </p> <p align=left>Thanks</p>Fri, 05 Sep 2008 18:43:46 Z2008-09-05T18:43:46Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#49b46b82-2b88-42b6-b7c8-6ac86fe251fchttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#49b46b82-2b88-42b6-b7c8-6ac86fe251fcDan Caseleyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Dan%20CaseleyIE7 cookie problem<p align=left>I've just tested one of the sure-fire ways I could break IE7, and it doesn't break in IE8b2.</p> <p align=left>I'm cautiously optimistic...</p> <p> </p> <p align=left>Dan.</p>Tue, 09 Sep 2008 10:14:00 Z2008-09-09T10:14:00Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#95b2595a-c090-4a55-a40d-b28e0fb004adhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#95b2595a-c090-4a55-a40d-b28e0fb004adFloatn21http://social.msdn.microsoft.com/Profile/en-US/?user=Floatn21IE7 cookie problem<p align=left><font face=Arial size=2></font> </p>Anyone have an update on this issue? I tried using IE8beta 2 and I was having too many issues, website browser kept coming up with errors and closing.Fri, 19 Sep 2008 13:41:50 Z2008-09-19T13:41:50Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#42ba4881-cc19-441f-a643-0feeb6c1be49http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#42ba4881-cc19-441f-a643-0feeb6c1be49Manikandan Khttp://social.msdn.microsoft.com/Profile/en-US/?user=Manikandan%20KIE7 cookie problem<p align=left><font face=Arial size=2></font> </p> <p>Eric,</p> <p align=left>       Iam using Vista32 and IE7, really struggle with loading and also it is very slow...</p> <p align=left> </p> <p align=left>Give me some guideline and fix this</p> <p align=left> </p> <p align=left>Hope your are fixed that above mentioned issue.</p> <p align=left> </p> <p align=left>Thanks,</p> <p align=left>-Mani</p>Wed, 01 Oct 2008 10:18:58 Z2008-10-01T10:18:58Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#ae104824-ee51-4852-9e90-5a97db476b12http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#ae104824-ee51-4852-9e90-5a97db476b12Mergenchikhttp://social.msdn.microsoft.com/Profile/en-US/?user=MergenchikIE7 cookie problemHi everybody,<font face=Arial size=2></font> <div><span class=Apple-style-span style="white-space:normal">I got the same problem, spent debugging whole day and solved it.</span></div> <div><span class=Apple-style-span style="white-space:normal">The problem was that my friend couldn't log in to the web site where form authentication was implemented and ticket was encrypted and stored on client side. </span></div> <div><span class=Apple-style-span style="white-space:normal">During debug i noticed that attached cookie was already expired. (My computer showed 18:25 and cookie showed 11:55)</span></div> <div><span class=Apple-style-span style="white-space:normal">I thought that reason was in client and server time zone. Changed code from</span></div> <div><span class=Apple-style-span style="white-space:normal"> <div><span class=Apple-style-span style="white-space:normal"><br></span></div></span></div> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none">  if (chkRememberMe.Checked)<br></blockquote> <div><span class=Apple-style-span style="white-space:normal"> <div><span class=Apple-style-span style="white-space:normal"> <div><span class=Apple-style-span style="white-space:normal">            {</span></div> <div><span class=Apple-style-span style="white-space:normal">                ticket = new FormsAuthenticationTicket(1, </span></div> <div><span class=Apple-style-span style="white-space:normal">                    u.ID.ToString(), DateTime.Now, DateTime.Now.AddDays(7), true,</span></div> <div><span class=Apple-style-span style="white-space:normal">                    UserGr.UserGroupName);</span></div> <div><span class=Apple-style-span style="white-space:normal">                Session.Timeout = 7 * 24 * 60;</span></div></span></div></span></div> <div><span class=Apple-style-span style="white-space:normal"> <div><span class=Apple-style-span style="white-space:normal"> <div><span class=Apple-style-span style="white-space:normal"> <div><span class=Apple-style-span style="white-space:normal">            }</span></div> <div><span class=Apple-style-span style="white-space:normal">            else</span></div> <div><span class=Apple-style-span style="white-space:normal">            {</span></div> <div><span class=Apple-style-span style="white-space:normal">                ticket = new FormsAuthenticationTicket(1,</span></div> <div><span class=Apple-style-span style="white-space:normal">                    u.ID.ToString(), DateTime.Now, DateTime.Now.AddMinutes(30), true,</span></div> <div><span class=Apple-style-span style="white-space:normal">                    UserGr.UserGroupName);</span></div></span></div></span></div></span></div> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">      Session.Timeout = 30;</span></div></span></div></span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">  }</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">          </span></div></span></div></span></div></span></div></blockquote> <div><span class=Apple-style-span style="white-space:normal"> <div><span class=Apple-style-span style="white-space:normal"><br></span></div> <div><span class=Apple-style-span style="white-space:normal">to</span></div> <div><span class=Apple-style-span style="white-space:normal"><br></span></div> <div><span class=Apple-style-span style="white-space:normal"> <blockquote class=webkit-indent-blockquote style="padding-right:0px;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-top-style:none;padding-top:0px;border-right-style:none;border-left-style:none;border-bottom-style:none">if (chkRememberMe.Checked)<br></blockquote> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">            {</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">                ticket = new FormsAuthenticationTicket(1, </span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">                    u.ID.ToString(), DateTime.Now, DateTime.Now.AddDays(7)<span class=Apple-style-span style="background-color:rgb(255,255,0)"><span class=Apple-style-span style="font-weight:bold">.ToUniversalTime()</span></span>, true,</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">                    UserGr.UserGroupName);</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">                Session.Timeout = 7 * 24 * 60;</span></div></span></div></span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">            }</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">            else</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">            {</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">                ticket = new FormsAuthenticationTicket(1,</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">                    u.ID.ToString(), DateTime.Now, DateTime.Now.AddMinutes(30)<span class=Apple-style-span style="background-color:rgb(255,255,0)"><span class=Apple-style-span style="font-weight:bold">.ToUniversalTime()</span></span>, true,</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">                    UserGr.UserGroupName);</span></div></span></div></span></div></span></div> <blockquote class=webkit-indent-blockquote style="padding-right:0px;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-top-style:none;padding-top:0px;border-right-style:none;border-left-style:none;border-bottom-style:none"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">      Session.Timeout = 30;</span></div></span></div></span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">  }</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">  </span></div></span></div></span></div></span></div></blockquote></span></div> <div><span class=Apple-style-span style="white-space:normal"><br></span></div> <div><span class=Apple-style-span style="white-space:normal">But it didn't work. Because i got check for persistance of ticket below which was as</span></div> <div><span class=Apple-style-span style="white-space:normal"><br></span></div> <div><span class=Apple-style-span style="white-space:normal"> <div><span class=Apple-style-span style="white-space:normal">if (ticket.IsPersistent) cookie.Expires = ticket.Expiration;</span></div></span></div></span></div> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none">Response.Cookies.Add(cookie);<br></blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"><br></blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"><br></blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none">So at last i corrected the code above as</blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"><br></blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"><br></blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"> <blockquote class=webkit-indent-blockquote style="padding-right:0px;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-top-style:none;padding-top:0px;border-right-style:none;border-left-style:none;border-bottom-style:none">if (chkRememberMe.Checked)<br></blockquote> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">            {</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">                ticket = new FormsAuthenticationTicket(1, </span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">                    u.ID.ToString(), DateTime.Now, DateTime.Now.AddDays(7).ToUniversalTime(), true,</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">                    UserGr.UserGroupName);</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">                Session.Timeout = 7 * 24 * 60;</span></div></span></div></span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">            }</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">            else</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">            {</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">                ticket = new FormsAuthenticationTicket(1,</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">                    u.ID.ToString(), DateTime.Now, DateTime.Now.AddMinutes(30).ToUniversalTime(), <span class=Apple-style-span style="font-weight:bold"><span class=Apple-style-span style="background-color:rgb(255,255,0)">false</span></span>,</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">                    UserGr.UserGroupName);</span></div></span></div></span></div></span></div><br> <blockquote class=webkit-indent-blockquote style="padding-right:0px;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-top-style:none;padding-top:0px;border-right-style:none;border-left-style:none;border-bottom-style:none"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">      Session.Timeout = 30;</span></div></span></div></span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">  }</span></div> <div style="word-wrap:break-word"><br></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"><br></span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">My advise is to note set cookie's expiration less than 24 hours (who knows where from your clients can be)</span></div></span></div></span></div></span></div></blockquote></blockquote>Mon, 24 Nov 2008 16:33:45 Z2008-11-24T16:33:45Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#a4a11dc4-ab8e-477d-a7fe-34802695832ahttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#a4a11dc4-ab8e-477d-a7fe-34802695832achetokahttp://social.msdn.microsoft.com/Profile/en-US/?user=chetokaIE7 cookie problem Hello,<br><br>We are facing the same problem with our intranet,<br><br>is there any patch or any solution for this problem<br><br>Thanks in advanceThu, 05 Feb 2009 12:56:32 Z2009-02-05T12:56:32Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#92f838a8-d47e-4095-991a-0b10c49caae8http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#92f838a8-d47e-4095-991a-0b10c49caae8Sumit Mehrahttp://social.msdn.microsoft.com/Profile/en-US/?user=Sumit%20MehraIE7 cookie problem<div>Hello Everybody,</div> <div><br/></div> I've found a Solution to the problem. <div>There's a setting in Internet Explorer 7.</div> <div><br/></div> <div>Goto</div> <div>Internet Options &gt;&gt; Privacy &gt;&gt; Advanced</div> <div>Click --&gt; Override Automatic Cookie Handling</div> <div>              ( Make Sure it is Checked )</div> <div><br/></div> <div>For First Party &amp; Third Party Cookies Select Accept as an option.</div> <div><br/></div> <div>Click --&gt; Always Allow Session Cookies.</div> <div>              ( Make Sure it is Checked )</div> <div><br/></div> <div>Click on OK. </div> <div>Now your Session Cookies won't get Automatically Deleted.</div>Mon, 03 Aug 2009 09:00:06 Z2009-08-03T09:00:06Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#e3a91401-5dfe-4865-a8da-6778a3b60c46http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/2d989cdd-7d88-46af-bedf-b87a0cb6695c#e3a91401-5dfe-4865-a8da-6778a3b60c46Joe-Cissec Corphttp://social.msdn.microsoft.com/Profile/en-US/?user=Joe-Cissec%20CorpIE7 cookie problemWas there ever a hotfix or permanent solution offered for this issue?&nbsp; Our clients have been experiencing this issue and I'd like to be able to offer a solid explanation and fix besides 'upgrade your browser'.&nbsp; These clients work in healthcare and do not have the freedom to upgrade on the fly as it were<br /><br />Thanks in AdvanceThu, 08 Oct 2009 14:12:06 Z2009-10-08T14:12:06Z