Forum Moderators: open
Thanks!
When the user enters their username / password, check that it is a valid entry (by looking the information up in the database, for example).
If they are allowed to login, store something in the session to say that the user is logged in...
Session ("UserLoggedIn") = 1
Then - at the top of all of your 'secure' pages, put something like this in the Page_Load event...
If Session ("UserLoggedIn") <> 1 then
call Response.Redirect ("/login.aspx")
End If
Hope that helps,
- Chris