Jump to content

Login - Logout


frisiandi

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}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...