Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making a page expire

Status
Not open for further replies.

shine67

Programmer
Jan 11, 2002
41
US
How can I make an html page expire after, let's say, 10 mins?
Even if we see it on the 'Back' button list, if we click the item I don't want it to show the content. Instead it should display something like 'Data Missing...' which I saw on some online banking web site.

Thanks,
Shine
 
<META HTTP-EQUIV=&quot;EXPIRES&quot; CONTENT=&quot;Mon, 01 Jan 2003 00:00:00 GMT&quot;>

This is how to make a page expire!

Good luck, BobbaFet

Everyone has a right to my opinion.
E-mail me at caswegkamp@hotmail.com
 
Thanks for the hint but it doesn't work in IE.
Any other way of doing it on IE?

Thanks a bunch.
Shine
 
Hi mate,

The above meta tag indicates that the document containing this META tag will expire at this time. If the document is requested after this date, the browser should load a new copy from the server, instead of using the copy in its cache.

If you still have the same page there then it will likely load the page as normal... Wullie

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top