cookie set on redirect not being cleared
See original GitHub issueSteps to reproduce:
- Set FMN to clean cookies on all instances of leaving a domain, with a short delay – say, 6 seconds.
- Open
http://www.surfaceimpression.com/in a new tab. The tab will immediately redirect tohttps://surfaceimpression.digital/. - Check cookies. There will be three: one from
www.surfaceimpression.com, one fromsurfaceimpression.digital, and one frombeta.surfaceimpression.digital. - Wait 6 seconds and check cookies again. All three will still be there, meaning that the redirect from
surfaceimpression.comtosurfaceimpression.digitalwas not handled by FMN as a domain leave. - Close the
surfaceimpression.digitaltab. - Wait 6 seconds and check cookies again. The two from
surfaceimpression.digitalwill be gone but the one fromsurfaceimpression.comwill still be there.
Tested in a fresh profile with FMN 1.0.5 on FF 62.0.3 on macOS 10.12.
PS: I just saw your new post in #67 and look forward to reading through the details when I get a moment.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Cookies disappear after redirect - node.js - Stack Overflow
When the browser requests http://server.com/login and gets back in the response a Set-Cookie header, the cookie is set on and restricted to the ......
Read more >Cookie value lost when I Redirect to a new web page - MSDN
I create a cookie on one webform by the folowing code: Response.Cookies("User").Value = "Test" I then redirect to the next webform using the...
Read more >Cookies are not sent after redirect (even on same origin) #1404
To be clear, I think having the cookies argument be a plain dictionary without information about each cookie as would have been received...
Read more >Trouble setting a cookie and performing a redirect at same time
I'm trying to set up a route that checks for a query string and if it matches, set a cookie and then redirect...
Read more >IV92428: EXAMPLE CODE IN REDIRECT.HTML DOES ... - IBM
In particular the example code provided is missing the Path=/; on the line that clears the cookie. This would result in some browsers...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Just tested all scenarios with the new code and all cookies get removed correctly.
Thanks for the examples. I’m already working on improving the situation. Not sure if I can catch all of these cases, but it will get better 😃