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.