RE: [PHP-DB] page expires
| From: | Oliver Cronk | Date: | Fri, 19 Apr 2002 17:06:17 +0000 |
| Subject: | RE: [PHP-DB] page expires | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18677@lists.php.net to get a copy of this message | ||
How about this incorporated somewhere:
$s = (SERVER_PROTOCOL == "HTTP/1.0") ? "Pragma: no-cache" : "Cache-Control:
no-cache, must-revalidate";
header($s);
This code must be at the start of the script BEFORE anything is output to
the browser - as it sends an additional HTTP header (hence the function
header()).
Hope that helps
Ollie
-----Original Message-----
From: Jonathan Hilgeman [mailto:JHilgeman@ecx.com]
Sent: 18 April 2002 19:37
To: 'Natividad Castro';
Subject: RE: [PHP-DB] page expires
http://php.sitecreative.com/faq.php
-----Original Message-----
From: Natividad Castro [mailto:ncastro@cots.com]
Sent: Wednesday, April 17, 2002 6:12 AM
To: php-db@lists.php.net
Subject: [PHP-DB] page expires
Hi to all,
I have form that users fill out and submit. What I'm trying to do is not to
let users to go back to the form after they have submmited, or if they go
bak, make the page expires.
Can someone please tell me or give an idea on how to do it?
Thanks in advanced
Nato
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php