-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Session cookie seems to ignore server's port, which causes issues when a user opens multiple applications from the same host in the same browser #42
Comments
This is the expected working, because from the cookie specification (RFC 6265, which replaces RFC 2109 and RFC 2965):
Gowut sets cookies as app URL specific. So if you use different app name in your different Gowut servers, it should work. Using the same app URL, it could only work if the Gowut servers would use different cookie names for storing the Gwout session ID. Currently this is not supported. Do you feel a need for it? |
Ah ok, I'd used "" as the app name for both applications as I wanted them both off the root e.g. host:port/ |
I could add support so that you could specify at the |
That would be perfect for me and may be of use to others. Thanks |
Done. Added Available on the |
Will go live with the |
I have two applications running on a backend server. They open their gowut servers on different ports (same IP/hostname). I open a browser and connect to the first app and authenticate, everything is ok. Starting a second browser instance/tab and authenticating to the second application stops the first browser session from working. There are no errors, and re-authenticating fixes it but breaks the other session.
However if I use a different browser to connect to the second application, everything works as expected and both applications work as intended.
The text was updated successfully, but these errors were encountered: