Matar Posted December 29, 2007 Share Posted December 29, 2007 hi how can i encrypt the url content , this content is a query criteria ? and how i can prevent the user to back to the userhome page when he click back in the browser i use the session and i make a logout page , but when the user click back and then forward he back to his account i need to prevent this . many thanks to all matar Link to comment Share on other sites More sharing options...
killboy Posted December 29, 2007 Share Posted December 29, 2007 Well, that Logout part doesn't make much sense for me. If you make a good logout page, all sessions should be destroyed, and there's no way the user can take back his account unless he logs in again.Here's the basic logout: <?phpsession_start();session_destroy();echo "<meta http-equiv='refresh' content='2;url=index.php'>"; //Go back to the index page?> At least that one works fine for me Link to comment Share on other sites More sharing options...
SpOrTsDuDe.Reese Posted December 29, 2007 Share Posted December 29, 2007 By the way, If someone is reading your page in a different language and they want to translate it, then it will be impossible for them to translate the page except the homepage. Best go with default URLS instead of encrypting the URL. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.