I'm trying to figure out how to do this session thing, when a user logs in. I have my login page, and based on their username I have them either go to page 1.asp, 2.asp or 3.asp
I know that in 1.asp,2.asp, and 3.asp i need to have some sort of code that recognizes if the user's login session is still active. i have placed a session.abandon statement on the login page to reset the session anytime someone logs in again. But I need to know what to put on 1,2,3.asp so that if someone is not currently logged in, it will take them to the login page.
How should I go about doing this?
-Bobby Gordon
I know that in 1.asp,2.asp, and 3.asp i need to have some sort of code that recognizes if the user's login session is still active. i have placed a session.abandon statement on the login page to reset the session anytime someone logs in again. But I need to know what to put on 1,2,3.asp so that if someone is not currently logged in, it will take them to the login page.
How should I go about doing this?
-Bobby Gordon