Sessions are closed randomly

Hi

For some time it happens that you enter the first time to the application (or delete cookies), it works for a few minutes, and suddenly closes, and from that moment, you re-enter and it closes randomly every x seconds, or minutes.
If you delete the cookies it works again for a few minutes.

Has anyone experienced anything similar?

regards

I have same issue +1

Absolutely. I’ve started using a private browser that deletes cookies but it slows things down to a crawl. My first app after login requires selection of a client. In a regular browser it will randomly just sit after the selection. If I log off, delete cookies, and go back in it is great. If I use private browser it is great. And sometimes in standard browser I end up back at the login screen for no apparent reason.

Hi
I’ve done some changes in menu app.
I’ll let you know shortly if it worked

regards

This is the code I put in the onapplicationinit event in menu app

session_start();
init_set(‘session.cookie_lifetime’,0);

since then it seems to work correctly.

2 Likes