http - Is there a way to clear a user's browser of my page, or say not to use cache? -


is there command in classic asp can use tell browser not pull page it's cache, or, not cache, or clear cache of page?

you can use html meta tags:

<meta http-equiv="pragma" content="no-cache" /> <meta http-equiv="expires" content="fri, 01 jan 1999 1:00:00 gmt" /> <meta http-equiv="last-modified" content="0" /> <meta http-equiv="cache-control" content="no-cache, must-revalidate" /> 

or can use asp response headers:

<%     response.cachecontrol = "no-cache"    response.addheader "pragma", "no-cache"    response.expires = -1 %> 

Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -