I'm developing an app that is only going to be used over HTTPS, when I
try to login to the admin backend, I keep getting 'Looks like your
browser isn't configured to accept cookies. Please enable cookies,
reload this page, and try again.'

I inspected the cookies being sent and noticed that the csrftoken is
not being sent via HTTPS (its not a secure cookie), even though I have
SESSION_COOKIE_SECURE as True in settings.

The 'sessionid' cookie is being sent correctly (over HTTPS).

Does anyone know of a way to fix this? I can sometimes login by
clearing all the cookies, and restarting the server + browser, but
this is hit and miss.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to