Stephane,

On 5/25/23 12:44, Stephane Passignat wrote:
Hello,

I would like to open multiple concurrent session in a web-application for one user. As far as I understand, the sessionid is stored in the cookie and the cookie is associated to the server (http://localhost:8080/).

So if I open a new browser window with the URL, I reach the same page than the one in the first window, no authentication, ... I can trick that using a private browse, but it's not convenient.

The above is accurate.

Are there any way to have this multiple session per user ? I read a bit session-config and tracking mode. Is it the right direction ?

You have three choices:

1. Use a different browser (e.g. Firefox plus Google Chrome)
2. Use a private browsing window within the same browser
3. Disable cookie-based session tracking on the server and use URL-rewriting

Note that #3 affects all users and not just you.

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to