Jump to content

How to disable browser back button


maheshforum

Recommended Posts

Hi All, I created a login page and submit the form data to the servlet. After the successful login I redirect the login page to index page of the project. If I click the back button of the browser the login page is loaded again. So I want to disable the browser back button or clear the browser history, cookies and sessions. How can i do this? can any one give me a solution?Regards,Maheswaran.D

Link to comment
Share on other sites

There shouldn't be a way to disable your browsers back button...and even so what's to stop your users from just tyipng your page back in as it is? You can 'fool' the page so the back history isn't what it's supposed to be.I quickly googled this page, at a glance it looks like it will be quite informative for you.http://bucarotechelp.com/design/jseasy/95070401.asp

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...