Pages

Monday, December 13, 2010

Avoid "Page Has Expired" Warnings

This problem occurs in my office's ticketing web application (using php). When switching back to previous page using back button of the browser, it displays a warning that page has expired. To obtain it, we have to press F5 in IE. In firefox always shows cofirmation box to resend the page.

Googling for the solutions, i found two references that useful:
http://support.microsoft.com/kb/183763
http://shiflett.org/articles/how-to-avoid-page-has-expired-warnings

I then change the php.ini configuration from:


session.cache_limiter = nocache

to:

session.cache_limiter = private

note:

lately known that this "private" option causes new problem, when clicking home the applications always prompt login form. well this is annoying.

I then set:

session.cache_limiter =

refs:
http://php.net/manual/en/function.session-cache-limiter.php
php.ini comments

No comments:

Post a Comment