At 05:02 PM 12/18/2001 -0500, [EMAIL PROTECTED] 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. :)


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to