[11505] in www-talk@info.cern.ch
Enforce reloading of page when using the back-button
daemon@ATHENA.MIT.EDU (=?iso-8859-1?Q?Christian_B=F8hn?=)
Tue Mar 7 15:13:05 2000
Message-Id: <010d01bf8870$0dbbf640$bc084382@bohns>
From: =?iso-8859-1?Q?Christian_B=F8hn?= <chrb@online.no>
To: <www-talk@w3.org>
Date: Tue, 7 Mar 2000 20:50:19 +0100
Mime-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Resent-From: www-talk@w3.org
Hi,
Is there a way to make the browser reload a page from server when the
back-button is used. I have tried the "Pragma", "Cache-control" and
"Expires" headers, but it doesn't prevent the browser from loading the page
from cache when the back-button is used. (for example IE5 does load it from
cache). I would like to avoid this in some cases, and have the browser to
send a new request so the server could determine if the user is still logged
in (ie hasn't clicked any logout button on a page), and if not, show a not
logged in page, rather than the previos content of the page.
Is this possible? Thanks a lot in advance!
Christian