Welcome! Log In Create A New Profile

Advanced

[WB] End the session when the browser is closed

Posted by pao 
pao
[WB] End the session when the browser is closed
July 23, 2021 04:14PM
I'm using a dynamic website and when the user closes the browser without using my app exit option the session remains in WAS.
Is there a way to determine that the browser was closed or to intercept the broswer close event to eliminate the session in the WAS ?

Regards

Paulo Oliveira
nope...

The only thing you can do is reduce the timeout value of your sessions, and use a keepalive function to manage that.

THis question has been answered many times here, so you will find the details of all that with a little search
Re: [WB] End the session when the browser is closed
July 28, 2021 10:09AM
Hi

WB26 has the "Heartbeat" feature which allows the server to identify dead sessions and do an auto cleanup.

Cheers

Peter H.
pao
Re: [WB] End the session when the browser is closed
July 28, 2021 11:18AM
I didn't know about this new function, that's why I opened the question.

Thanks Peter,

Regards

Paulo Oliveira
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: