How to disable browser back and forward button after logout [in struts2 or jsp]

How to disable browser back and forward button after logout [in struts2 or jsp]

How to disable browser back and forward button after logout [in struts2 or jsp]

I am using

but not working. When I click the back button of the browser more than one time.

View Answers

May 27, 2012 at 12:00 AM

Hi,

I can suggest the below two ways by using Java script.

It is working for me.

  1. Open A New Window without Back Button

  2. Disable Back functionality using history.forward









Related Tutorials/Questions & Answers:

Ads