Jump to content

Login - Logout


frisiandi
 Share

Recommended Posts

dear friend,I have created login page and it's working fine...After login the page is directed to menu page.At menu page there's a logout link.So when you click the link, it will direct to login page.The problem is : if we click back button, it will direct to menu page..so the logout doesn't work at all !!!How to make it right ??Pls help...rgdsFris

Link to comment
Share on other sites

Maybe you could also post related code? I mean bloody_d's question is relevant to this too, but maybe show us the code for your logout page.ie generally you use sessions to track a logged in user, and the logout page destroys all session information. You also need code on your menu page to check if the user is logged in or not.if($loggedin == true){ //display page}else{ //redirect to login page}

Edited by Reiyan
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...