Sessions - going back in browser
| From: | Craig Donnelly | Date: | Tue, 19 Apr 2005 16:26:26 +0000 |
| Subject: | Sessions - going back in browser | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-213388@lists.php.net to get a copy of this message | ||
Hello,
I had an issue that I needed to be able to go back in the browser while in a
session without getting "page has expired", I was reading through the manual
and came across a comment about adding the following to the sessions page to
allow users to traverse back:
header("Cache-control: private");
(http://www.php.net/manual/en/function.session-start.php)
This works fine on a Win32 dev box running Apache 1.3.x and PHP 5.0.3, but
then I loaded the pages onto a RedHat box running PHP 5.0.3 on Apache
1.3.27. This box is running these pages through SSl (https)
Anyone any ideas?
Regards,
Craig