473,378 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Page has Expired

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.

--
Chris Davoli

Oct 6 '06 #1
2 2380
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!
*************************************************
"Chris Davoli" <Ch*********@discussions.microsoft.comwrote in message
news:18**********************************@microsof t.com...
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.

--
Chris Davoli

Oct 6 '06 #2
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,
--
Joerg Jooss
ne********@joergjooss.de
Oct 9 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jarkko Kähkönen | last post by:
Hi! I have Windows XP&IE6.0.2... (SP1). I'm coding one project with PHP. I get "Warning: Page has Expired" when I try to get back to the "POSTed page" (page whither moved from FORM-page). ...
4
by: John | last post by:
Could anyone please help me on this?? I have a php script page, which is basically quiz. Visitors (after login in with their email address) are supposed to answer each question, and when they...
16
by: Dave Smithz | last post by:
Hi, In summary: I want to a form to submit information via a HTTP POST, however, when using Internet Explorer I want to be able to use the back button and all the information retained....
3
by: Ed Burns | last post by:
Hi. I am trying to disable a user from going back to a previous page and displaying information previously shown. I want to give them the typical "Page has Expired" warning message. I am using Win...
16
by: | last post by:
At the moment I am getting the following Expired Warning if a user logins into a secure page and attempts to press the 'back' button: Warning: Page has Expired The page you requested was created...
3
by: mgm | last post by:
How do you get a web app to not show the 'page has expired...' error and refresh and requery when you hit the back button after submitting a form? I just want the old data to still be displayed in...
2
by: moondaddy | last post by:
Often when browsing my site and using the forward and back buttons I get the err msg "Page has Expired " My pages are blank with a user control for the content. Is there something I need to be...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
3
by: =?Utf-8?B?cHJhZGVlcF9UUA==?= | last post by:
Hi All, Can anyone please explain me why I am not able to disable Browser caching in ASP.net by writing the following code Response.Buffer = true; Response.ExpiresAbsolute =...
5
by: =?Utf-8?B?Y2hlY2tyYWlzZXJAY29tbXVuaXR5Lm5vc3BhbQ== | last post by:
I have a site which I secure with forms authentication. When the user's sign on and hit one of the secure pages, I have this line in my code to ensure that the browser does not cache the page;...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.