Wednesday, September 24, 2014

Re: Unable to delete cookie

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJUIvzAAAoJEB267zEX1rwQr1IP/R4o/zT0F93O/+YAuBveZLSV
a9AqT3H/mKZRaMvlLCq79D4nng6bp05dJrUN2eT5H0NQRLRmVnc+1w89HjQyotvg
aCnc5e9FywglYDkd55dMlygospkNJtSMxDcdB2Z8xVr6ZpnHCBh0a2qWeAcreAjb
xakFIcmn6Nm+u2OkN8IDZTHm+3cNFRwTlMlrfbvGC5eM8x3Tk2fMr+082DW89v5P
oOS4N678nYks8GEgKHmwSGrNv03cqaq9D3GCmAOwdUszTPuI1T7e72g/thFO9aNY
KQ9h7i5ka8rkA2t0yCuGHf3U3hAuuA71gAFIFHNWarY6+FYkzsI7q9KQWODsOwjB
3JRL9vdMT2giZYS7OVBCG+ippODqQBEo2RINzNVrfBMQ9o2qrN1pUqlh/Cw3m4Lz
dAv3XGosqypD7UnQCumSFR3hHsvqwM0+05jZVguAk5CQCWu8NIDtqw5QtWaAd69Y
GmoRJwHghvvKnFokR7P+or3mGE5ANSJ0FKlSWKBD1TOcWXFqXfGwfvbYUE/Twy9e
jbiPkIlMEMvOc/1pT0CjvRcbQxslpDvsO3kpVoXQm3cpcg0BkZX0dqeEuffz86Us
9ZRbLnEPuUNmQriAjUwCl7sp+EXLqPOF4D2fOgCe5q3ncegm7BNeg4FTewy7GpNq
x7UavTtmU4ZbkVWPCsNb
=lMWa
-----END PGP SIGNATURE-----
Your code looks good. It seems to me you might have some middleware in your project, from the external authentication, that places the cookie. Think that the response in your view still have to pass through the middleware in its way out to the browser.

Just guessing.

On 24 Sep 2014, at 16:40, Tao Bror Bojlén <brorbojlen@gmail.com> wrote:

> Everything's https, and it's the same path.
> Here's the cookie before going to the logout view, and the cookie header
> of that view: http://imgur.com/a/idlVT
>
> As far as I can tell, they match, but the cookie isn't changed at all.
>
>
> On 24/09/2014 15:33, Collin Anderson wrote:
>> Could it be different paths or something? Or http vs https?
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Django users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/django-users/Glpa_myOGSw/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> django-users+unsubscribe@googlegroups.com
>> <mailto:django-users+unsubscribe@googlegroups.com>.
>> To post to this group, send email to django-users@googlegroups.com
>> <mailto: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/7c23a976-8000-4ce7-a488-42cc0bee8510%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/7c23a976-8000-4ce7-a488-42cc0bee8510%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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+unsubscribe@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/5422D7CD.1040803%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment