Re: Session question
| From: | Michael Sims | Date: | Wed, 19 Dec 2001 01:19:15 +0000 |
| Subject: | Re: Session question | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-11003@lists.php.net to get a copy of this message | ||
At 05:02 PM 12/18/2001 -0500, Rconover@americanbridge.net wrote:
I was wondering how I can stop the following message from posting when a user hits the back button when I am using sessions?Look for this section in your php.ini: ; Set to {nocache,private,public} to determine HTTP caching aspects. session.cache_limiter = nocache Set it to an empty string, like this: session.cache_limiter = And restart IIS/Apache/whatever. This makes the "page has expired" message come up much less frequently. It still comes up if the last POST action included a file upload, however... I haven't personally ran across any ill effects from unsetting that option, but there might be. I haven't investigated it thoroughly yet. You have been warned. :)