Force Page To Not Load From Cache
Sometimes you may want to make sure that users don't see an old page, you want it to load again and not from the cache when people view it.
This is actually pretty simple, just a short bit of code that at the end I will shorten even more!
Code:
<%
Response.Expires = 0
Response.Expiresablolute = Now() - 1
Response.AddHeader "pragma","no-cache"
Response.AddHeader"cache-control","private"
Response.CacheControl = "no-cache"
%>
Or if you want to save file size and execution time you could use this shorter example:
Code:
<%
Response.Expires = -1000
%>
Enjoy!
-- //Oosband