I think the recommended HTTP headers are as follows:

<% response.setHeader("pragma", "no-cache");
response.setHeader("Cache-control", "no-cache, no-store, must-revalidate");
response.setHeader("Expires", "01 Apr 1995 01:10:10 GMT"); %>

That might cover it...! :)

Nathan Wheat
Technical Sales Consultant
Firmware Design
Phone:  0401 148 989
Email:  [EMAIL PROTECTED]
http://www.firmware.com.au

Save thousands on your Web site budget!
Find out how a Content Management System can reduce Web maintenance costs:
http://go.firmware.com.au/cms/ft



-----Original Message-----
From: Chris Hamlin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 11 December 2001 3:30 PM
To: JRun-Talk
Subject: Re: How to make a jsp page expire when a browsers back button
is clicked


On Monday, December 10, 2001, at 11:11  PM, Mohan Raj wrote:

> Hi
>
> Does anyone know how after loading an jsp page, I can force the page to
> become invalid so that if the user clicks on the BACK or FORWARD 
> buttons on
> the browser, rather than loading the version in cache, a new copy from 
> the
> server is loaded?
>
> I've hit a problem with my test site whereby if the user uses the 
> browsers
> BACK and FORWARD buttons.
>
>

   I think that we had this discussion and the upshot is that this is
the official, recommended browser behavior.  The suggestion was
to put some javascript onto the offending page to make it reload
each time.


   ch

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to