Hi,

I'm trying to delete a cookie on user logout. The issue is that the 
Set-Cookie header in the response is malformed, and thus the cookie doesn't 
get deleted. This is the header:

Set-Cookie: "{{ cookie_name }}=; Domain={{ cookie_domain }}; expires=Thu, 
01-Jan-1970 00:00:00 GMT; Max-Age=0; 
Path=/sessionid=25lysb3tzhozv464mrgg08uqz100ur39; expires=Mon, 15-Sep-2014 
19:07:22 GMT; httponly; Max-Age=1209600; Path=/"
It looks like there should be some sort of division right before 
"sessionid=...". I've posted the view code on Stack Overflow if anyone wants to 
have a look: 
http://stackoverflow.com/questions/25611319/django-does-not-delete-cookie
Could this be an issue with my code, or perhaps a bug in Django?
Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/696cf5e3-afe5-47e4-9660-9b1dbde25a57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to