Re: Warning Page Expired
| From: | Jonathan Hilgeman | Date: | Tue, 31 Jul 2001 14:55:33 +0000 |
| Subject: | Re: Warning Page Expired | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-10932@lists.php.net to get a copy of this message | ||
Edit your php.ini file and find the line that starts with
session.cache_limiter. Replace it so that the line says:
session.cache_limiter = ; Fix for Caching Problems
If you leave the value blank (the "; Fix for...." part is just a comment),
the browsers will handle their own caching and will eliminate this error.
Occasionally you will get a page that is cached and you will need to refresh
in order to see the updated contents, but for the most part, it works.
Another solution is simply to use GET methods in your forms instead of POST.
The whole page expired error is supposed to be a "safety" feature to keep
people from seeing private, posted information. The GET method puts all the
information in the query string, so there's nothing to hide, so caching
doesn't become a problem.
- Jonathan
"Olinux O" <olnx@yahoo.com> wrote in message
news:20010728184301.13016.qmail@web11802.mail.yahoo.com...
> How do I eliminate this error when the BACK button is
> used?
>
> Warning Page Expired
>
> Thanks,
> olinux
>
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/