Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let pr_cookie set cookie path for sharing sessions between multiple mounted routers #850

Closed
davidHMolnar opened this issue Jan 27, 2022 · 0 comments · Fixed by #862
Closed
Labels
theme: pr_merge() Could be resolved with pr_merge()

Comments

@davidHMolnar
Copy link

Multiple routers could share a session if pr_cookie allows to set an explicit path in the cookie to the common root of all routers, e.g. "/". So having this parameter would be nice.

Currently when multiple routers are mounted, they cannot see each other's cookies and thus sessions. This is because each router sets a cookie whose visibility is restricted to each router's own URI path. Pr_cookie sets no path information with the cookie, and the restriction is the default browser behaviour then.

@schloerke schloerke added the theme: pr_merge() Could be resolved with pr_merge() label Jan 31, 2022
@schloerke schloerke mentioned this issue Jun 3, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: pr_merge() Could be resolved with pr_merge()
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants