LoginStatus login not working on main page
1 answer
Sure! Start a session when the user is logged in. In the code for the main page, in Page_load, you simply put something like this
if ((Session ["UserID"]! = null) || (Session ["IsAdmin"]! = null))
{
your actions ...
}
rest
{
}
This is what I used for the login panel, which detects if the logged in user is an administrator.
-1
source to share