Running two separate localhost Mendix applications causes swapping logouts

0
I am busy upgrading an application and I am comparing the styling between the Mendix 7 version of the app with the Mendix 8 version side by side.  When running these two separate applications on different ports (localhost:8080 and localhost:8081) at the same time locally causes automatic logouts.  When I log in to one application and perform an action, it kicks me out of the other one.  This frustrates progress when doing SASS styling comparisons between an old version of an app and a new one when you constantly have to log into the one and then again the other one.  I have seen this happening across multiple versions of the Modeller/Mendix Studio Pro. Am I missing a simple setting somewhere to prevent this?
asked
3 answers
2

When running multiple Mendix apps locally I usually do the following per project:

- In Project > Settings > Configuration > Server > Root URL: http://{appname}:{portnumber}  (make up different appname and port number per project)

- In your hosts file in C:\Windows\System32\drivers\etc add the different appnames with local ip address like so:

127.0.0.1   appname_1
127.0.0.1   appname_2
127.0.0.1   appname_3

Now you can run all the different apps and view them within the same brower (in tabs) without having issues with the sessions.

answered
1

Try Project > Settings > tab Runtime > setting “Multiple sessions per user”. Default value is yes, so maybe you still need something else.

answered
1

I use Firefox multi account containers to handle different sessions. https://github.com/mozilla/multi-account-containers#readme

I am not sure that it will solve it when running 2 mendix applications though.

answered