Skip to content

Documentation: type Options needs better docs #131

Closed

Description

@jrmiller82

Options type needs better clarification that MaxAge: 0 will be deleted after the browser session ends. Or is it MaxAge<0?

Activity

  1. elithrar commented on Nov 14, 2017

    @elithrar
    Contributor
  2. jrmiller82 commented on Nov 14, 2017

    @jrmiller82
    Author

    // MaxAge=0 means no 'Max-Age' attribute specified and will be deleted after browser session ends.
    // MaxAge<0 means delete cookie now, not at browser session end.

  3. elithrar commented on Nov 14, 2017

    @elithrar
    Contributor

    Submit a PR? ✨

  4. jrmiller82 commented on Nov 14, 2017

    @jrmiller82
    Author

    I will when I have some time.

  5. kshitij10496 commented on Mar 4, 2018

    @kshitij10496

    Thanks, @jrmiller82 for opening this issue.

    I, myself, stumbled upon this behavior and wanted to incorporate it in the docs for future reference.
    I will make the changes and send a PR real quick if it's fine by @jrmiller82. 😅

  6. added a commit that references this issue on Mar 12, 2018
    7910f5b
  7. BenJuan26 commented on May 25, 2018

    @BenJuan26

    Why are the other options not documented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions