Quick description of the problem...
In IE the login control is not working when I use a host header to access a site I am developing.
Longer explaination...
I'm playing around with the membership provider in ASP.NET 2.0. So I download the code from the "getting started" video tutorials... http://download.microsoft.com/download/2/3/4/2340602d-ed7b-48b4-a4a1-ba303a5ef296/Membership_CS.msi
When I access the site as a file system site or using localhost as an http site, the login works fine. But I like to use host headers so I can access the site by a specific name. When I set that up the login no longer works in IE.
I did some investigating with Fiddler and I notice that when I visit the site initially with localhost, a number of cookies are set, including .aspxanonymous. When I use the my host header, the cookies are not there. Same goes for the .aspxauth cookie that you normally see during login... I can see the "set cookie" in the response header, but I never see it in subsequent request headers.
Anyone know what is going on here? Why would using a host header cause a problem like this?