<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Security</title><link>http://forums.asp.net/25.aspx</link><description>All about ASP.NET security (authentication, authorization, membership, roles, etc.) and the Login controls. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=24&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: login control in IE with host header</title><link>http://forums.asp.net/thread/1844299.aspx</link><pubDate>Tue, 07 Aug 2007 02:57:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1844299</guid><dc:creator>Freakyuno</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1844299.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1844299</wfw:commentRss><description>&lt;p&gt;Well, if it works in Firefox, but not IE - then it has to be a cookie problem of some sort, so you&amp;#39;re headed down the right path.&amp;nbsp; The next thing I think I&amp;#39;d probably try, is manually setting a cookie from code, and then getting it back on another page - you can determine if thats the hangup.&amp;nbsp; I think I&amp;#39;d probably add your site to IE&amp;#39;s trusted sites as well, and see if that makes any difference.&lt;/p&gt;</description></item><item><title>Re: login control in IE with host header</title><link>http://forums.asp.net/thread/1844244.aspx</link><pubDate>Tue, 07 Aug 2007 01:58:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1844244</guid><dc:creator>sleekdigital</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1844244.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1844244</wfw:commentRss><description>&lt;p&gt;Thanks very much for the reply, but I think my problem is something different.&amp;nbsp; I have had my application name set to &amp;quot;/&amp;quot; from the start, and there is only one entry in the application table.&amp;nbsp; I do have a little more information to report.&amp;nbsp; I tested the same code on my home pc, and it worked fine.&amp;nbsp; My home PC has IE 7, while my work pc has IE 6.&amp;nbsp; As I mentioned before, it works fine in firefox even on my work pc.&amp;nbsp; So, it seems to be something specific to IE 6 or maybe&amp;nbsp;some specific security&amp;nbsp;settings related to IE 6 on my work pc.&amp;nbsp; I tried messing with some cookie related settings, but nothing seemed to work.&amp;nbsp; Any other ideas?&lt;/p&gt;</description></item><item><title>Re: login control in IE with host header</title><link>http://forums.asp.net/thread/1840716.aspx</link><pubDate>Fri, 03 Aug 2007 20:29:29 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1840716</guid><dc:creator>Freakyuno</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1840716.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1840716</wfw:commentRss><description>&lt;p&gt;It&amp;#39;s actually a pissy little problem caused by the way the .net 2.0 membership sets up registered users.&amp;nbsp; At the root of the membership tables is an application table.&amp;nbsp; Normally, for generic type sites or single domain sites, there&amp;#39;s only one application listed, wtih a key.&amp;nbsp; The &amp;quot;/&amp;quot; application.&amp;nbsp; What happens, especially if you&amp;#39;ve modified provider settings at all, is users created through the asp.net admin pages are assigned to the &amp;quot;/directoryname&amp;quot; site, and then when you use host headers, you&amp;#39;re back at the &amp;quot;/&amp;quot; site.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d bet dollars to donughts thats whats happening.&amp;nbsp; Inspect your membership table and I bet under applications you&amp;#39;ll see 2.&amp;nbsp; One will be &amp;quot;/&amp;quot; and one will be something like &amp;quot;/projectname&amp;quot;&lt;/p&gt;</description></item><item><title>login control in IE with host header</title><link>http://forums.asp.net/thread/1840698.aspx</link><pubDate>Fri, 03 Aug 2007 20:17:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1840698</guid><dc:creator>sleekdigital</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1840698.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1840698</wfw:commentRss><description>&lt;p&gt;Quick description of the problem...&lt;/p&gt;
&lt;p&gt;In IE the login control is not working when I use a host header to access a site I am developing.&lt;/p&gt;
&lt;p&gt;Longer explaination...&lt;/p&gt;
&lt;p&gt;I&amp;#39;m playing around with the membership provider in ASP.NET 2.0.&amp;nbsp; So I download the code from the &amp;quot;getting started&amp;quot; video tutorials... &lt;a href="http://download.microsoft.com/download/2/3/4/2340602d-ed7b-48b4-a4a1-ba303a5ef296/Membership_CS.msi"&gt;http://download.microsoft.com/download/2/3/4/2340602d-ed7b-48b4-a4a1-ba303a5ef296/Membership_CS.msi&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When I access the site as a file system site or using localhost as an http site, the login works fine.&amp;nbsp; But I like to use host headers so I can access the site by a specific name.&amp;nbsp; When I set that up the login no longer works in IE.&lt;/p&gt;
&lt;p&gt;I did some investigating with Fiddler and I notice that when I visit the site initially with localhost,&amp;nbsp;a number of cookies are set, including .aspxanonymous.&amp;nbsp; When I use the my host header, the cookies are not there.&amp;nbsp; Same goes for the .aspxauth cookie that you normally see during login... I can see the &amp;quot;set cookie&amp;quot; in the response header, but I never see it in subsequent request headers.&lt;/p&gt;
&lt;p&gt;Anyone know what is going on here?&amp;nbsp; Why would using a host header cause a problem like this?&lt;/p&gt;</description></item></channel></rss>