Can't remove Cookies

17 views
Skip to first unread message

CSchulz

unread,
Nov 7, 2011, 3:37:11 AM11/7/11
to google-we...@googlegroups.com
Hi, I'm having an issues where a user logs in on one page such as example.com/login and then is redirected to example.com/desktop or example.com/mobile depending on what device they're using, and the cookie that we save when they log in will transfer to the other app, but then it's impossible to remove or reset the cookie. Whenever we go back to example.com/login it still thinks there is a cookie even though we tried to kill it on the example.com/desktop app.

Is this because the URL is slightly different? I haven't worked with cookies much before and usually don't have any issues with them. I've tried killing it in numerous different ways from setting it to null, to replacing it with an already expired cookie, to calling the Cookies.remove method and nothing seems to get rid of it entirely. 

Thanks for any advice.

Jens

unread,
Nov 7, 2011, 4:19:00 AM11/7/11
to google-we...@googlegroups.com
Is it a HttpOnly cookie? If so you can not access it from javascript.
Reply all
Reply to author
Forward
0 new messages