back button doesn't work with sessions?
| From: | Frank Keessen | Date: | Mon, 16 Aug 2004 19:35:52 +0000 |
| Subject: | back button doesn't work with sessions? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-193999@lists.php.net to get a copy of this message | ||
Hi all!
Can you please help me with the following;
I've got a form (that comes in 'three parts' a1.php a2.php and a3.php)with sessions
that refuses to go back!
On A2.php and A3.php i made a back button like:
<input type="image" src="images/back_button.jpg"
onClick="history.back()">
and
<input type="image" src="images/back_button.jpg"
onclick="history.go(-1)">
And i've added the follwing line directly after Session_start();
header("Cache-control: private");
When i'm hitting the back button it's stays on it's page!!! So no browser back for
me!
Can somebody help? Thanks!
Frank