I have asp.net membership implemented using SQL Server.
I have a default page that says Hello, Guest for anonymous users and Hello, [Firstname] [Lastname] for authenticated users.
I'm having trouble logging in on one computer (and my customer is having the same issue on one of their computers).
On computer A, I can log in fine to the production website. After I log in, I see Hello, Craig Howard as expected.
On computer B, I cannot login to production. I do not get a login error, and I am redirected to the default page (as if login was fine) but I see Hello, Guest
Here's some things I've discovered / tried
-
I verfied the cookie is getting created when I login
-
I tried clearing my cache and cookies
-
I verified that there is only one record in aspnet_Applications (so there isn't an application name conflict)
-
LastLoginDate updates to the current date time when I login (in aspnet_Membership table)
-
The user is approved and not locked out
-
On this same computer, I can login to the same site at localhost (different SQL database when running locally)
-
On this same computer, I can login to production using Firefox
It appears that what is happening is that I'm logging in successfully, but then somehow getting logged out when I am redirected to the default page.
I'm at a loss of how to troubleshoot this further. It certainly appears to be something specific to IE, but I don't know how it gets in this state, or how to clear it.
I'm using the <asp:Login> control
Any suggestions ?
-Craig