It all looks quite complicated. I guess my needs are much simpler for the
form authentication method that I am using. I am using the following code in
Page_Load in of Default.aspx.
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
If not User.Identity.IsAuthenticated Then
' Call login.aspx, how?
End If
End Sub
I just need to know if the current user in not authenticated how should I
call the login page? Am I on the right lines?
Thanks
Regards
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:%2*****************@tk2msftngp13.phx.gbl...
Forms Authentication is usually your best bet in ASP.NET.
It is easily configured in your web.config file.
Here's more information:
http://www.dotnetbips.com/displayarticle.aspx?id=9
http://support.microsoft.com/default...b;en-us;311495
http://www.4guysfromrolla.com/webtech/121901-1.2.shtml
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"John" <Jo**@nospam.infovis.co.uk> wrote in message
news:OJ****************@TK2MSFTNGP15.phx.gbl... Hi
What code I need on the default page to call login page if the current
user is not authenticated/loggedin and carry on if the user is
authenticated/loggedin?
Thanks
Regards