Re: back button doesn't work with sessions?

From: Date: Tue, 17 Aug 2004 10:00:52 +0000
Subject: Re: back button doesn't work with sessions?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-194033@lists.php.net to get a copy of this message
Frank I use a back button on a couple of sites that use session variables and don't seem to have an issue with them. However, my back buttons are held within IFRAME tags as I am accessing resources externally. -- ----------------------------- Michael Mason Arras People www.arraspeople.co.uk ----------------------------- "Frank Keessen" <fkeessen@planet.nl> wrote in message news:006601c483c8$3dc05810$70253591@PC01FJ... > 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 >

« previous php.general (#194033) next »