I'm attempting to set up my app so that certain pages can be served over HTTPS but most are served over HTTP:If I log in to my app with a Google account over HTTPS, then the SACSID cookie gets set which causes App Engine to happily return the proper account when users.get_current_user() is called.
Unfortunately, when I return to the HTTP version of my site, App Engine seems to look for the ACSID cookie instead, which isn't present, so users.get_current_user() returns nothing.
Is there a way I can configure App Engine to honor the SACSID cookie over HTTP or some way to transfer the cookie between the two? (The cookies don't use the same value; simply copying the cookie appears not to work.)
Thanks,
Ben
Can anyone throw some light on this matter please? I am struggling to know its answer too today.
On Friday, 24 August 2012 10:58:22 UTC+5:30, Ben Alpert wrote:Is there a way I can configure App Engine to honor the SACSID cookie over HTTP or some way to transfer the cookie between the two? (The cookies don't use the same value; simply copying the cookie appears not to work.)