Allow setting the cookie domain with SessionMiddleware for sharing cookies between subdomains #1603
-
Possibly this would just be a boolean option that if set gets the domain from the current request and uses that in the cookie? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Yes please, looking for the same. But not boolean, make it string type so I can set it to what I need. |
Beta Was this translation helpful? Give feedback.
-
Is there interest in supporting such a feature ? I have a fork handy that I can turn in a PR if there is. IMO it makes sense to support it since host-based routing is supported. |
Beta Was this translation helpful? Give feedback.
-
I've created a PR2280 |
Beta Was this translation helpful? Give feedback.
You can also use this lib: https://github.com/alex-oleshkevich/starsessions