Page Expired Warning

J

Jordan

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!
 
G

garethdjames

set the expiry header in the past so that when they click back the
browser informs that the page has expired
 
J

Jordan

J

Joerg Jooss

Jordan said:
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/WEB_c25c.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/archive/index.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,
 

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top