with SESSION_COOKIE_DOMAIN = '.localhost' cookie problem (development server)
|Reported by:||Owned by:||nobody|
|Severity:||Normal||Keywords:||cookie, localhost, settings|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I used SESSION_COOKIE_DOMAIN = '.localhost' to share cookie between subdomains and get error "Looks like your browser isn't configured to accept cookies..."
~$ cat /etc/hosts 127.0.0.1 localhost 127.0.0.1 london.localhost 127.0.0.1 beatsimple.com 127.0.0.1 london.beatsimple.com
But with SESSION_COOKIE_DOMAIN = '.beatsimple.com' all works good
Ubuntu/8.10 (intrepid) Firefox/3.0.7 Django version 1.0.2 final
Development server is running at http://127.0.0.1:8000/
Test project is an empty generated Django project. I only configured db (sqlite3), enabled admin and set SESSION_COOKIE_DOMAIN variable. Server doesn't set cookie, as I understand it is HTTP problem.