Skip to content

Set cookie to an empty value when called to remove, rather than 'a' #46

@G-Rath

Description

@G-Rath

Currently remove sets the cookie value to 'a' which is confusing and means (among other things) calling get afterwards returns a value which isn't expected if you've just removed the cookie.

I can't find anything online indicating that it's a bad idea to set a cookie without a value (it seems that omitting the = is being debated, but foo=; should be completely valid).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions