Multiple sessions on the same machine

Hello everyone,
I have multiple instances of jmix running on the same machine each on different port, when i’m logged in a instance and try to log in a second one, it kicks me out from the first. Is there a way to avoid this?
I need my users to switch between them without kick them out every time.
Nothing appears in the console.

1 Like

Hi Leonardo,

HTTP cookies that store the session information are shared between all ports of a host, so when you login in an app, another’s app session is invalidated. This is normal.

You should separate your apps by different host names. If it’s localhost, just edit the hosts file and give different names to 127.0.0.1.

Regards,
Konstantin