caching - How Do I Ensure IE 8 will Never Cache My Data -


i have following 2 pages:

  • check-cookie.html, checks see if user has given cookie
  • set-cookie.html, sets given user cookie

in ie 8, following empty cache/cookie file:

  1. load check-cookie.html. 'no cookie' output, expected
  2. load set-cookie.html, sets user cookie
  3. load check-cookie.html. correct 'cookie present' output
  4. delete cookies , clear cache.
  5. reload check-cookie.html. still 'cookie present' output, though cookie/cache clear.
  6. close ie8 browser , reopen it, loading check-cookie.html. 'no cookie' output.

this documented on microsoft site here: http://windows.microsoft.com/en-us/windows7/delete-webpage-history.

essentially, though cache files have been cleared, of stored in memory need close browser clear cache fully. know how around ie limitation?

fyi, using following no cache headers: cache-control: no-cache,no-store,must-revalidate,post-check=0,pre-check=0 pragma: no-cache

your cookie session cookie , not persistent cookie. "the cache" in ie refers temporary internet files folder. session cookies stored in memory, whilst browser running, persistent cookies stored in cache.

there no option in ie8 delete session cookies. delete cookies function deletes cookies "stored on computer", meaning, persistent cookies in temporary internet files folder.

your session cookies not being cached, think expectation/interpretation of "cache" troubling you.

do have higher-level problem or believe needs fixed? see no issue in session cookies being discarded when browser exits. what's scenario?


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -