Re: forcing a page to expire
| From: | Jon Parise | Date: | Tue, 11 Jul 2000 14:54:17 +0000 |
| Subject: | Re: forcing a page to expire | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5925@lists.php.net to get a copy of this message | ||
On Mon, Jul 10, 2000 at 11:53:14PM -0400, Chris Sano wrote:
> When the user clicks on this button, I want them to be sent to a
> independent page (that will be taken care of later) and once they
> have reached this independent page, if they hit the back button, I
> want it to say "Page has expired, Please login again."
You'll need to send the "no-cache" headers (using header()). These
will differ between different browsers.
Have a look at the put_headers() function here:
http://cvsweb.horde.org/index.php/~checkout~/horde/phplib/Attic/session.inc?rev=1.1.2.12&cvsroot=/cvs/horde&hideattic=1&sortbydate=0
--
Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/ : Computer Science House
Member