Page has Expired

G

Guest

How do I expire a page, and I want to get the following message when I hit
the back button to that expired page? I get this message from my bank.
Warning: Page has Expired The page you requested was created using
information you submitted in a form. This page is no longer available. As a
security precaution, Internet Explorer does not automatically resubmit your
information for you.

To resubmit your information and view this Web page, click the Refresh
button.
 
C

Cowboy \(Gregory A. Beamer\)

Easiest is simply add the following to the header (no programming)

<meta http-equiv="expires" content="0">
<meta http-equiv="pragma" content="no_cache">
<meta http-equiv="Cache-control" content="no_cache">

Add to master page if you have one and all pages get the benefit.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
 
J

Joerg Jooss

Thus wrote Cowboy (Gregory A. Beamer),
Easiest is simply add the following to the header (no programming)

<meta http-equiv="expires" content="0">
<meta http-equiv="pragma" content="no_cache">
<meta http-equiv="Cache-control" content="no_cache">
Add to master page if you have one and all pages get the benefit.

And that's the worst of your options.

Adding
<%@ OutputCache Location="None" Duration="10" %>
to a Master Page is equal effort and more reliable.

Cheers,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top