Custom MembershipProvider attempts to pass empty creds after IIS restart

Posted by Joseph DeCarlo on Stack Overflow See other posts from Stack Overflow or by Joseph DeCarlo
Published on 2010-03-12T18:47:33Z Indexed on 2010/03/12 19:27 UTC
Read the original article Hit count: 404

Filed under:
|
|

I have a C# custom ASP.Net MembershipProvider. When the user attempts to navigate to another part of the site after IIS is restarted, it doesn't navigate to the login page to collect credentials, but instead attempts to authenticate with empty credentials.

Can anyone tell me what I have to do to identify that the new authentication needs to take place and that new creds need to be gathered?

I have a complementary custom IHttpModule implementation that allows me to intercept events like BeginRequest and AuthenticateRequest, if that helps.

© Stack Overflow or respective owner

Related posts about membership-provider

Related posts about ASP.NET