473,378 Members | 1,478 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 Expired Warning

I would like users to see the standard "page expired" warning when they
click the Back button.

I've searched on web, but haven't been able to find a solution for this.

Any suggestions?

Thanks!
Nov 19 '05 #1
3 1013
set the expiry header in the past so that when they click back the
browser informs that the page has expired

Nov 19 '05 #2
I found a couple of examples of this, but haven't been able to get it to
work yet.

Wouuld you happend to have an example?
Thanks!

I tried adding this:

<%@ OutputCache location="none" %>

http://www.syncfusion.com/FAQ/aspnet...25c.aspx#q444q

Also, I tried adding these meta tags:

<meta http-equiv="Expires" content="-1">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">

http://www.webmaster-forums.net/arch...ex.php/t-17072

<ga**********@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
set the expiry header in the past so that when they click back the
browser informs that the page has expired

Nov 19 '05 #3
Jordan wrote:
I found a couple of examples of this, but haven't been able to get it
to work yet.

Wouuld you happend to have an example?
Thanks!

I tried adding this:

<%@ OutputCache location="none" %>

http://www.syncfusion.com/FAQ/aspnet...25c.aspx#q444q

Also, I tried adding these meta tags:

<meta http-equiv="Expires" content="-1">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">

http://www.webmaster-forums.net/arch...ex.php/t-17072


None of the mentioned means can remedy the problem. You have to prevent
the user from resubmitting a POST request.

See this discussion http://tinyurl.com/bcekb for example.

Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 19 '05 #4

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). ...
9
by: | last post by:
When I complete a <FORM METHOD=POST> and I press <INPUT TYPE=SUBMIT> a new page was arrive. Then, if I press browser back button it says that: "page has expired". Why??? Can I fix it or it is...
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....
1
by: ddddd | last post by:
Regarding the Internet Explorer message below: "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...
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...
0
by: Quentin Huo | last post by:
Hi: After the submit button is clicked, the page is posted back. Now if I click the "Back" button in the IE toolbar, I will get the warning message: Warning: Page has Expired The page you...
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...
1
by: James | last post by:
I'm getting the Warning: Page has Expired message when I hit the back button on my browser. I realize why this is happening, but ultimately this is going to severely annoy our client. Is there a...
4
by: Scott Shuster | last post by:
Hi, I've been searching and testing and have not yet found the answer I'm looking for. I have an ASP.NET (vb) application with an ecommerce function. When the user submits the page, I DON'T...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?

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.