Back Buttons and Forms

From: Date: Sun, 27 Aug 2000 02:45:42 +0000
Subject: Back Buttons and Forms
Groups: php.general 
Request: Send a blank email to php-general+get-13823@lists.php.net to get a copy of this message
Hi all: I'm trying to use Header() functions to prevent browsers from caching a username/password protected page (linked to a database), so that users can't simply click the Back button to return to that page. The Headers work OK in that the page isn't cached (the browser says it has 'expired'); so far so good. But the browser offers the user the opportunity to reload the page by reposting the form data that created it - which it does; so the whole routine is useless. I've tried adding Header functions to all the pages/scripts involved, to no avail. (I'm testing all this using whatever version of Netscape that ships with Red Hat 6.2). Can't find anything really relevant in the last couple of months on this list. Any ways around this? Mulga Mick

« previous php.general (#13823) next »