Response.Buffer = -1 'All the buffer expires @ -1 second(1 second ago). But if you want to clean all the websites' tmp file of the browser ,then no command can do that!
Response.Expires = -10000; Response.AddHeader('Pragma', 'no-cache'); Response.AddHeader('Cache-Control', 'no-cache, must-revalidate'); Response.CacheControl = 'private';
This is the only instruction that guarantees that the page will only be cached as long as needed: <% Response.AddHeader "cache-control","no-store" %> This means that the page will be removed from the user's cache immediately, when the user navigates away from the page. Be warned, however - if the user moves away from the page, and then hits the back button to go back to the page, because it has been removed from the cache it may cause problems depending upon your browser. According to RFC2616, "If sent in a request, a cache MUST NOT store any part of either this request or any response to it. If sent in a response, a cache MUST NOT store any part of either this response or the request that elicited it." Let me know if this helps!