Avoid Caching of ASP Page

Discussion in 'ASP General' started by vanisathish@gmail.com, Oct 4, 2005.

  1. Guest

    Hi All,
    I am running IIS5.1. I am invoking an ASP page in ther server
    continously from the HTML Page, to update some contents of the html
    page. The ASP page seem to run from the cache sometimes(Not Always). I
    tried to give the following header to my ASP file.

    Response.Expires = 0
    Response.AddHeader "pragma","no-cache"
    Response.AddHeader "cache-control","private"
    Response.CacheControl = "no-cache"

    still the contents seem to get cached. how can i avoid this ?
    appreciate your inputs.

    thanks
     
    , Oct 4, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hypo
    Replies:
    6
    Views:
    463
  2. Troy Simpson

    Fragment Caching inside page caching?

    Troy Simpson, Jan 19, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    845
    Troy Simpson
    Jan 19, 2004
  3. Alexander Malkis
    Replies:
    8
    Views:
    551
    Alexander Malkis
    Apr 14, 2004
  4. Roger23
    Replies:
    2
    Views:
    1,039
    Roger23
    Oct 12, 2006
  5. JimLad
    Replies:
    3
    Views:
    951
    JimLad
    Jan 21, 2010
Loading...

Share This Page