• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get login page when user clicks on browser's back button

 
kamal dobaria
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using struts framework.
I have set property nochache=true in response header of all pages.
So, browser does not caches my pages.

Now,when I am clicking on browser's back button, I am getting following message..generated by browser.

Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.

To resubmit your information and view this Web page, click the Refresh button.




Instead of that I want to show user a login page, when it clicks on back button.

Can anyone help me?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Struts forum.
If there is a mechanism within Struts for this, you'll probably want to use it, rather than roll your own.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic