Checkin to see if a Session variable is set.
Posted: Fri Mar 17, 2006 9:29 pm
I was wondering if anyone can tell me, or direct me to a tutorial on explaining how to see if a session is set.
Basically I have a "Agree to the rules" page, and if the user clicks yes, I would like a session to be started ( i know how to do that) and I want to be able to protect all the pages on mysite. I would like to do this by redirecting the users that dont have the session set. And for the people that do, I want them to be able to view the page.
Thank You.
Basically I have a "Agree to the rules" page, and if the user clicks yes, I would like a session to be started ( i know how to do that) and I want to be able to protect all the pages on mysite. I would like to do this by redirecting the users that dont have the session set. And for the people that do, I want them to be able to view the page.
Thank You.