Jeroen - you are a star

What this header basically does is re-request the URL when the user hits the
back/forward buttons.

That also fixed a couple of other 'what happens if the hit the back/forward
button' issues i was having.

One huge advantage about the 'CACHE-CONTROL' tag is that the browser can
still use the cache to get images, javascript includes, behaviours etc. Best
of both worlds really.

Thanks

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of J.T. Wenting
Sent: Monday, 27 November 2000 7:11 PM
To: Orion-Interest
Subject: RE: OFFTOPIC: Making a page expired


response.setHeader("CACHE-CONTROL", "max-age=0, must-revalidate");
will do the trick.

Jeroen T. Wenting
[EMAIL PROTECTED]

Murphy was wrong, things that can't go wrong will anyway

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Matt Krevs
> Sent: Monday, November 27, 2000 05:37
> To: Orion-Interest
> Subject: OFFTOPIC: Making a page expired
>
>
> I am trying to get the browser to display the "this page has expired"
> message when the user hits the Back button on the browser.
>
> We have the luxury? of only needing to support IE5.5. No matter what meta
> tags i use I cant seem to get the browser to display the standard
> "this page
> has expired" message.
>
> This is especially important in the situation where the user's session has
> expired and the user then uses the back button and tries to click on a
> hyperlink on the old page.
>
> Any ideas?
>
>



Reply via email to