Author: chandu0202 | Posted on: 7/30/2008 11:43:04 PM | Views : 259

 hi,
i am using login control , but my problem is i can't redirect to target page

if ((UserEmail.Text == "BBB") &&
            (UserPass.Text == "AAA"))
        {
            FormsAuthentication.RedirectFromLoginPage
               (UserEmail.Text, Persist.Checked);
           
        }
        else
        {
            Msg.Text = "Invalid credentials. Please try again.";
        }

...

Go to the complete details ...