Mac OSX 10.11.13
sessions set to false in
'sessions' excluded from the
order array in
config/http.js, deleted cookies re-appear in the response of the immediate subsequent request. This happens only once, subsequent response(s) do not include that cookie.
Sample repository: https://github.com/kunagpal/sails-issue-3896
1. Clone and download sample repository
2. Install all dependencies with
3. Start the localhost with
4. View cookies on
5. Set cookie
6. Delete cookie
7. The deleted cookie re-appears right after deletion, but is removed in subsequent requests.
Expected behaviour: Deleted cookies never re-appear in response data, unless explicitly reset later.
PS: Detailed analysis revealed a
referer header with the value of the cookie deletion url was present in the response headers for redirection to the