469,306 Members | 1,987 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,306 developers. It's quick & easy.

Disallowing a page to be cached

Is there a way to disallow a page from being cached? I'm about to
introduce functionality that will not work properly if the person uses
the 'BACK' button on their browser and would like to ensure that they
cannot. I tried using <% response.expires = -1 %> thinking that it would
work, however it only ensures that another request has to be sent to the
server. Any ideas other than simply giving the user a message NOT to
use the back button?

Here's a link to the functionality. It uses session variables to produce
a dynamic rate quote. (Tip use WDW in the Description/Keyword search).

http://www.gatewayorlando.com/conten...rch_Submit.asp

Jul 19 '05 #1
1 1417
David C. Holley wrote:
Is there a way to disallow a page from being cached? I'm about to
introduce functionality that will not work properly if the person uses
the 'BACK' button on their browser and would like to ensure that they
cannot. I tried using <% response.expires = -1 %> thinking that it
would work, however it only ensures that another request has to be
sent to the server. Any ideas other than simply giving the user a
message NOT to use the back button?

Here's a link to the functionality. It uses session variables to
produce a dynamic rate quote. (Tip use WDW in the Description/Keyword
search).

http://www.gatewayorlando.com/conten...rch_Submit.asp


http://www.aspfaq.com/show.asp?id=2017

HTH,
Bob Barrows
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

21 posts views Thread by Bill H | last post: by
1 post views Thread by Cliff Harris | last post: by
4 posts views Thread by Captain Chaos | last post: by
13 posts views Thread by Veeresh | last post: by
1 post views Thread by Nalaka | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.