Urgent Please

sankarshriin's Avatar, Join Date: Aug 2010
Newbie Member
When i sign-out the page, Back space is working. I want to disable backspace using php script.
Please any one help me......
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Moved to PHP forum with proper title.
johnny.dacu's Avatar, Join Date: Jul 2010
Contributor
Why do you need to disable it? After sign out a good server script will clear all sessions... Returning on previews page with back action is just an history/cache issue.
pein87's Avatar
Ambitious contributor
I dont think you can disable the back button with php since thats a client site thing, and yeah if your script is good all session or cookies will be removed so pressing back you would still be logged of but it would appear that your still signed in because thats the state it last showed. Log out, press the back button and then try to write a post or a new thread or just refresh the browser and you'll see that your logged out. This works even if you have multiple tabs if you log out of one you cant do any posting because your sessions are gone and are shown as offline.