IE7 Cookie Issue when Domain Name Has Underscore "_" Character In it<font size=2><span style="font-family:Arial">We recently had an issue where IE7 was dropping the authentication cookie but Firefox and other browsers worked fine.   After searching the various forums and blogs it was determined that having an underscore in the domain name was causing IE7 to drop it's cookies.   Very little information is out there on this and I couldn't find a MS Knowledge base article on it at all.<br><br>Removing the underscore from the web site domain name fixed the problem.  <br><br><br><br>Problem:  IE7 drops the authentication cookie when underscores are in the domain name.  <br>Solution:  Remove the underscore from the domain name.<br><br>Does anyone know if there is a KB article on this or that MS is making a fix for IE7 for this yet?<br><br><br></span></font>© 2009 Microsoft Corporation. All rights reserved.Wed, 10 Dec 2008 23:17:14 Z8e876e9e-b223-4f84-a5d1-1eda2c2bbdf4http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/8e876e9e-b223-4f84-a5d1-1eda2c2bbdf4#8e876e9e-b223-4f84-a5d1-1eda2c2bbdf4http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/8e876e9e-b223-4f84-a5d1-1eda2c2bbdf4#8e876e9e-b223-4f84-a5d1-1eda2c2bbdf4eigenmanhttp://social.msdn.microsoft.com/Profile/en-US/?user=eigenmanIE7 Cookie Issue when Domain Name Has Underscore "_" Character In it<font size=2><span style="font-family:Arial">We recently had an issue where IE7 was dropping the authentication cookie but Firefox and other browsers worked fine.   After searching the various forums and blogs it was determined that having an underscore in the domain name was causing IE7 to drop it's cookies.   Very little information is out there on this and I couldn't find a MS Knowledge base article on it at all.<br><br>Removing the underscore from the web site domain name fixed the problem.  <br><br><br><br>Problem:  IE7 drops the authentication cookie when underscores are in the domain name.  <br>Solution:  Remove the underscore from the domain name.<br><br>Does anyone know if there is a KB article on this or that MS is making a fix for IE7 for this yet?<br><br><br></span></font>Thu, 25 Sep 2008 15:53:36 Z2008-09-25T15:53:36Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/8e876e9e-b223-4f84-a5d1-1eda2c2bbdf4#8dba0eff-c49c-4ddd-886a-010465911016http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/8e876e9e-b223-4f84-a5d1-1eda2c2bbdf4#8dba0eff-c49c-4ddd-886a-010465911016IECUSTOMIZERhttp://social.msdn.microsoft.com/Profile/en-US/?user=IECUSTOMIZERIE7 Cookie Issue when Domain Name Has Underscore "_" Character In it<p>Hi,</p> <p align=left> </p> <p align=left>Could you be more specific? (friendly question only)</p> <p align=left> </p> <p align=left>eg. do you mean _domainname.com , domain_name.com or domainname.com/_foldername</p> <p align=left> </p> <p align=left>a leading underscore is used to hid folders on a web server and only make them accessible to authenticated users.</p> <p align=left> </p> <p align=left>Do you have an address where we can have a look at this (and test with IE8 also)?</p> <p align=left> </p> <p align=left>Regards.</p> <p align=left><font face=Arial size=2></font> </p>Fri, 26 Sep 2008 04:15:52 Z2008-09-26T04:15:52Zhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/8e876e9e-b223-4f84-a5d1-1eda2c2bbdf4#a6922cc7-c548-4f1d-8f7d-32e22be160fdhttp://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/8e876e9e-b223-4f84-a5d1-1eda2c2bbdf4#a6922cc7-c548-4f1d-8f7d-32e22be160fdeigenmanhttp://social.msdn.microsoft.com/Profile/en-US/?user=eigenmanIE7 Cookie Issue when Domain Name Has Underscore "_" Character In it<font size=2><span style="font-family:Arial">It was one of our internal developer sites and we changed its name so it actually works now.<br><br>It was named web_dev3.site.com.<br><br>We changed the machine name to webdev3.site.com to fix the problem.  I think that you cannot make a DNS record with an underscore so it may work as designed, however I can have machine names on my internal network with underscores and Firefox works fine with it.  So if you want to replicate it you may have to make an internal machine name with an underscore.<br><br><br>I've seen it mentioned sporadically by some other blogs.  </span></font><font size=2><span style="font-family:Arial">I just haven't seen a knowledge article on it.</span></font><br><font size=2><span style="font-family:Arial"><br>for example<br><br>http://www.daniweb.com/forums/thread78695-3.html<br>http://codeigniter.com/forums/viewthread/90364/P15/#459871<br>http://www.microugly.com/page/blogs/internet-explorer-buglist/<br><br><br><br><br><br><br><br><br></span></font>Fri, 26 Sep 2008 14:32:51 Z2008-09-26T14:32:51Z