session reset

I think I found the problem, I have two applications, one on port 8080 and the other on port 8081, when I open both in the same browser, one session me out and returns to login, how can I fix it? thanks

I answered here: Discord

Apply the changes suffered and apparently the application is stable. thanks for your help