MP
unread,Oct 5, 2008, 7:31:52 PM10/5/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Symptoms:
I noticed when I sign out of my app, it takes me to a page which
indicates I am still logged in, which is confusing. When I click
signout in my app, I want it to take me to a page that indicates I am
signed out. This problem occurs with the Google Frontend Server, but
not with the Development Server.
Diagnosis:
It looks like the culprit is browser cacheing... my browser caches the
"signed in" version of the page and serves it after I signout. If I
refresh the page again, it returns to the correct state of 'signed
out'.
My attempt at a solution was to set "Cache-Control" to "no-cache" in
the response headers of all my dynamic pages. This seems to work fine
when I do not have a session cookie stored. However, when the browser
has a session cookie, it seems that the Google Frontend overwrites
"Cache-Control" with "private, max-age=86400". This is what breaks my
signout procedure.
Question:
Can I stop the Google Frontend from overriding my Cache-Control header
when the browser has a cookie?