Re: Multiple concurrent sessions

2023-05-25 Thread Christopher Schultz

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



Re: Multiple concurrent sessions

2023-05-25 Thread Brian Wolfe
Am I understanding your use case right?
You need a particular user to have multiple sessions in the same browser?
or are you saying you need multiple users to be able to log into your
application in the same browser?

On Thu, May 25, 2023 at 12:45 PM 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.
>
> 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 ?
>
>
> thanks for your help
>
> stephane
>


-- 
Thanks,
Brian Wolfe
https://www.linkedin.com/in/brian-wolfe-3136425a/


Multiple concurrent sessions

2023-05-25 Thread Stephane Passignat

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.


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 ?



thanks for your help

stephane