Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- the user must not access the pages
December 12, 2007, 10:56 am
rate this thread
when the user clicks the logout.php the session variables are
destroying. my doubt is when the user clicking back, again they are
entering into the pages. how to check whether session variables exist
or not. if the sessions variables are not exist i use header to go
login.html page. if yes the user can enter the pages.......in every
page i want to check whether session variables exist or not......
In every page for example login.php page(in login.html form
action=login.php) how to check whether session variables exist or not?
if suppose he logins using login.html page(action=login.php). if
username and password are correct he enters into login.php otherwise
he stay at login.html only.
now my doubt is how can we check for session variables whether are
they exists or not in login.php. obviously the sessions will not be
started before login.php. so every time he redirected to the
login.html page only....
we create the session variables when the user successfully enters into
thankyou in advance.....
- — Previous thread in » PHP Scripting Forum