RE: [PHP-DB] disable backbutton
| From: | Peter Lovatt | Date: | Sun, 07 Jul 2002 23:19:12 +0000 |
| Subject: | RE: [PHP-DB] disable backbutton | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20377@lists.php.net to get a copy of this message | ||
Hi
if you add
<META HTTP-EQUIV="expires" CONTENT="0">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
to your header that should stop the browser caching and if you do all your
links using a form with the method set to 'post' that should stop people
using the back button
HTH
Peter
-----------------------------------------------
Excellence in internet and open source software
-----------------------------------------------
Sunmaia
www.sunmaia.net
info@sunmaia.net
tel. 0121-242-1473
-----------------------------------------------
> -----Original Message-----
> From: Sander Peters [mailto:s.peters@visionnet.nl]
> Sent: 07 July 2002 21:28
> To: php-db@lists.php.net
> Subject: [PHP-DB] disable backbutton
>
>
> Hello,
>
> I would like to make a page expire or disable the backbutton (clear the
> history).
> Why? I'm developping a database-related programm in php/mysql and
> people can
> log in and out, but nobody should be able to use the backbutton to be in
> the system again as the user that just logged of.
>
> Can somebody help me?
> Thanks in advance!
>
> Sander Peters
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>