Joseph DeCarlo
Joseph DeCarlo

Reputation: 3278

Custom MembershipProvider attempts to pass empty creds after IIS restart

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.

Upvotes: 0

Views: 215

Answers (1)

Jason M
Jason M

Reputation: 512

did you override the mandatory functions from MembershipProvider? Do you know if MembershipProvider.ValidateUser() is being passed empty credentials or not? As if that method is still getting called, it'd be simple to check there.

Upvotes: 1

Related Questions