Page has Expired

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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!
*************************************************
 
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,
 
Back
Top