• Advertisement
Sign in to follow this  

[.net] FormsAuthentication.RedirectFromLoginPage not working in IE7?

This topic is 4277 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Can anyone confirm or deny this? Or am I not doing this correctly?
if( FormsAuthentication.Authenticate(txtUserName.Text, txtPassword.Text ))
				FormsAuthentication.RedirectFromLoginPage(txtUserName.Text, true );
			else
			{
				txtPassword.Text = "";

				if( System.Convert.ToInt32(ViewState["Tries"]) > 1 )
					Response.Redirect("Denied.htm");
				else	
					ViewState["Tries"] = System.Convert.ToInt32(ViewState["Tries"]) +1;
			}

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement