hi, 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 login.php only. thankyou in advance..... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
