wood burning stoves 2.0*
The moose likes Struts and the fly likes Avoiding page expiry Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Avoiding page expiry" Watch "Avoiding page expiry" New topic

Avoiding page expiry

Andy Deighton
Ranch Hand

Joined: Apr 01, 2003
Posts: 39
My Struts application shows a page that displays attributes got from an object (a travel Quotation) in the current session. The user can then click on a Print link which shows a slightly different version of the same attributes, but formatted for printing. However, hitting the back button on the browser to go back to the original display of Quotation data gives the classic "page expired" error in the browser. But my Quotation is in the session, so why would the page expire as soon as this printable page was loaded? Does anyone know of any tips about avoiding page expiry in Struts (or web apps in general)??
I agree. Here's the link: http://aspose.com/file-tools
subject: Avoiding page expiry
Similar Threads
html submit button javascript issue
Concurrent access of website
Form Bean after Session.Invalidate()
Session scope form bean problem
Expire session and show 'invalid session' page when user press browser's back button