Hi,

I am having trouble with sessions.  I've created a user login/password
section that uses session variables.  Within this section, I have a form
where the user enters data and submits.  When the user clicks on the Browser
back button, they should get back to the form with their data intact.  This
is indeed what happens most of the time but some users report that they get
the following message after clicking on "Back":

===================================
Warning: Page has Expired The page you requested was created using
information you submitted in a form. This page is no longer available. As a
security precaution, Internet Explorer does not automatically resubmit your
information for you.

To resubmit your information and view this Web page, click the Refresh
button.
===================================

When the refresh, their data is gone!!!  I've gone through the docs and
placed the following headers at the top of every file.  Why is this
happening and to only a few users???

header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
session_cache_limiter('private_no_expire, must-revalidate');
session_start();




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to