my dog learned polymorphism*
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 Android Security Essentials Live Lessons this week in the Android 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)??
subject: Avoiding page expiry
Similar Threads
html submit button javascript issue
Expire session and show 'invalid session' page when user press browser's back button
Form Bean after Session.Invalidate()
Session scope form bean problem
Concurrent access of website