Redirects and caching

Jonathon McKitrick <[email protected]> Fri, 20 Oct 2006 02:16:37 +0100
Newsgroups gmane.lisp.web
Message-ID <[email protected]>
Suppose you have a page that requires cookie-based authentication, and that
redirects when that cookie is not found.  How do you make sure neither page is
incorrectly cached?

Right now, I am able to access a cached page after the cookie has been
removed.  Worse, after accessing a protected page, being redirected, then
logging in and going *back* to that page, I am still getting the redirect.

Is there a way around this?  I have "no-store, no-cache" in the cache-control
headers.

Jonathon McKitrick
--
My other computer is your Windows box.