-
Notifications
You must be signed in to change notification settings - Fork 71
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
Seaside issues multiple cookies for different paths #915
Comments
Setting the session cookie path to '/' fixes this. Maybe this should be configurable somehow, as there may be valid use cases for having multiple session cookies for different paths on the same domain. See also issue #917 |
I don't think setting the session cookie path to In the example you give, what is the path of the WAApplication? |
That is true. So it should probably be the path of the application. My use case is a bit different, as I need to map requests to the proxy server on to an application, e.g. '/some/path' is mapped to '/application/some/path'. That means, that I need to set the path on the cookie as '/', not '/application'. But I can make that a behaviour specific to our application. The path of the application in the example would be '/application'. |
Yes, it should be the path of the application, but that should already be happening, see If you do not want to rewrite the cookie paths in your proxy server and do not want to make the the paths in the proxy server and Seaside match my recommendation would be to implement a custom |
Redirects on a page can cause Seaside to issue multiple session cookies. Example
This is bad for two reasons three reasons:
The text was updated successfully, but these errors were encountered: