A
Andy Sutorius
Hi,
For some reason the login.aspx webpage redirects to itself after a
successful login and not to the url in the address bar. I have stepped
through this with debug and it behaves as it is supposed to. What am I
overlooking? Try it.
http://www.sutorius.com/psyche
click the Administration link
username = user1
password = user1
private void cmdLogin_ServerClick(object sender, System.EventArgs e)
{
if (ValidateUser(txtUserName.Value,txtUserPass.Value) )
FormsAuthentication.RedirectFromLoginPage(txtUserName.Value,chkPersistCookie
..Checked);
else
lblMsg.Text = "Invalid Log in";
For some reason the login.aspx webpage redirects to itself after a
successful login and not to the url in the address bar. I have stepped
through this with debug and it behaves as it is supposed to. What am I
overlooking? Try it.
http://www.sutorius.com/psyche
click the Administration link
username = user1
password = user1
private void cmdLogin_ServerClick(object sender, System.EventArgs e)
{
if (ValidateUser(txtUserName.Value,txtUserPass.Value) )
FormsAuthentication.RedirectFromLoginPage(txtUserName.Value,chkPersistCookie
..Checked);
else
lblMsg.Text = "Invalid Log in";