toyamarinyon/webcrypt-session

How to ensure the cookie is applied to all paths, not just the current path?

balupton opened this issue · 1 comments

Using this with some success, however cookies that are set on /*/* are their own cookie and are different to those set on /*, I'd like all pathnames to share the same cookie.

There is documentation here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie

However I would imagine considering the naming of session.toHeaderValue() that it may set these options, and isn't just say a session.toCookieValue()

This is more a documentation issue than a code issue. See bevry/billing@1fe0465#diff-61da722d0d55bb23a65c6bac880605d14933332b4e937940274a1026a111532bR44 for how I got it going.