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
Post a Comment