Search This Blog
Sunday, May 25, 2008
Prevent the browser from Caching a page
This page is an explanation of using the Meta tag to prevent caching, by browser or proxy, of an individual page wherein the page in question has data that may be of a sensitive nature as in a "form page for submittal" and the creator of the page wants to make sure that the page does not get submitted twice.
HTTP is a data access protocol currently run over TCP and is the basis of the World Wide Web.
cache:
A program's local store of response messages and the subsystem
that controls its message storage, retrieval, and deletion. A
cache stores cachable responses in order to reduce the response
time and network bandwidth consumption on future, equivalent
requests. Any client or server may include a cache, though a cache
cannot be used by a server that is acting as a tunnel.
Update on this, M.S. just had to do things differently.
Just put the following between the <head> and </head>
<META Http-Equiv="Cache-Control" Content="no-cache">
<META Http-Equiv="Pragma" Content="no-cache">
<META Http-Equiv="Expires" Content="0">
that will do it.. IE needs the expires. View source of this page for example.
Click Here for more info.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment