The moose likes JSP and the fly likes Warning: Page has expired Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Warning: Page has expired" Watch "Warning: Page has expired" New topic
Author

Warning: Page has expired

Pat De Luis
Greenhorn

Joined: Feb 24, 2003
Posts: 2
Hi All,
I'm completely new to all of this, I'm getting screen error Warning: Page has expired after a short period of time. I check values in the sessionTimeoutMillis
an d looks ok, this only happens for the screen developed using JSP but not for previous ones
Any idea/s?
Thanks a lot
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1860
Is this when you are clicking "back" in your browser or something? Do you have any caching options/headers set in your pages?
Simon
p.s. "irespond", thanks for joining JavaRanch, but could you just take a quick look at the naming policy and edit your profile.
Pat De Luis
Greenhorn

Joined: Feb 24, 2003
Posts: 2
Hi Simon,
As suggested I change my user name (Thanks ) About the warning message, it happens when I leave the screen without any interaction for more than 20 minutes (aprox) and then I try to do something. I have sessionTimeoutMillis parameter set to 28800000 and The "Session Timeout" option under Web Descriptor / Web App Descriptor / session Config. is set to -2
Thanks
sampy jagan
Ranch Hand

Joined: Sep 17, 2002
Posts: 34
What is the WebServer you are using?
If it is Tomcat you can try increasing the checkInterval attribute. It specifies how often to check for expired sessions, default is 60 Seconds.
Ex:
<SessionExpirer checkInterval="120" />
Regards
jagan
sampy jagan
Ranch Hand

Joined: Sep 17, 2002
Posts: 34
The above change you have to make in Server.xml
Regards
jagan
 
 
subject: Warning: Page has expired
 
Threads others viewed
Spring Wizard keyboard back button takes to Expired page in IE6
Cache control through response object.
Page has Expired
Caching Problems with borwsers.
screen resolution
IntelliJ Java IDE