Results 1 to 2 of 2

Thread: CacheControl

  1. #1
    Join Date
    Dec 1969

    Default CacheControl

    I am having trouble refreshing a page because it&#039;s being cached.<BR>I tried the code below on the asp page in question only and it still does not make a difference.<BR><BR> Response.CacheControl = "no-cache"<BR> Response.AddHeader "pragma","no-cache"<BR> Response.Expires = -780<BR><BR>And in the javascript code (on the same page)<BR><BR>&#060;meta HTTP-EQUIV="Pragma" CONTENT="no-cache"&#062;<BR>&#060;meta HTTP-EQUIV="cache_control" CONTENT="no-cache"&#062;<BR>&#060;meta HTTP-EQUIV="expires" CONTENT="-780"&#062;<BR><BR>Can anyone help?

  2. #2
    Join Date
    Dec 1969

    Default RE: CacheControl

    Try sending a random number attached appended to the querystring (if it&#039;s a GET) or as a form field (POST).<BR>This will force most versions of IE to reload the page.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts