Posted By

elightbo on 11/13/06


Tagged

cache


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

asifrizvigmailcom


ASP no cache


 / Published in: ASP
 

  1. <%
  2. pStr = "private, no-cache, must-revalidate no-store pre-check=0 post-check=0 max-stale=0"
  3. Response.ExpiresAbsolute = #2000-01-01#
  4. response.AddHeader "Pragma", "no-cache"
  5. response.AddHeader "cache-control", pStr
  6. %>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: cc on February 22, 2009

I hope this code it's correct and prevent completely from any caching.

Posted By: cc on February 22, 2009

I hope this code it's correct and prevent completely from any caching.

You need to login to post a comment.