joerussbowman / gaeutilities

gaeutilities - A collection of utilities to help with application development on Google Appengine
http://gaeutilities.appspot.com
BSD 3-Clause "New" or "Revised" License
78 stars 4 forks source link

Is Cookie Domain valid? #9

Closed blainegarrett closed 14 years ago

blainegarrett commented 14 years ago

Hi I am having issues with sessions spanning Cnames. I tried to look in the code, but can't seem to find a spot where it sets the cookie domain. Is this supported? I would like to set the domain to be .mydomain.com

joerussbowman commented 14 years ago

I just pushed some changes to the master branch that "should" take care of it. Can you give it a try? Really never played with setting cookie domain before, so if you have a good test method I can use to test it, I'd appreciate it.

joerussbowman commented 14 years ago

oh, and how you'd use it is copy default_settings.py to settings.py (if you haven't done this already), and modify DEFAULT_COOKIE_DOMAIN to be a string value instead of False