Hi Chris,
Have you traced in the debugger that the RedirectFromLoginPage actually is called?
If so, then I would temporarily remove authentication and make sure your calling page is working correctly.
>Hi - I am developing an ASP.NET applications using Forms authentication. I have successfully got the browser to my login page whenever a user requests another page in the 'secure' area but when valid credentials are entered the login refreshes and that's it. The url that the user was attempting to access is appearing in the address bar OK and I have tested that the username and password is validated OK and all seems well!
>
><SCRIPT RUNAT="server">
>Sub cmdSubmit_Click(sender as Object, e as EventArgs)
>If FormsAuthentication.Authenticate(txtUser.Text, txtPass.Text) Then
> FormsAuthentication.RedirectFromLoginPage(txtUser.Text, false)
>Else
> lblMessage.text = "Invalid login"
>End If
>End Sub
></SCRIPT>
>
>
>Any ideas appreciated...
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi