Replies: 3 comments 1 reply
-
There is no such option at the moment
|
Beta Was this translation helpful? Give feedback.
-
i made some tests, and I've found no consistent way to get this result. Apparently there is an official way, but is very unreliable. Mozilla states
Just tested with Chrome on mac, and having the option to restore tabs after restarting is enough to NOT delete these cookies. So, I tried to try to ask (the server) for logout as soon as the user leaves the page. There's not enough time, unless I demand the browser to ask user for confirmation. This way the logout is done while the user looks at the dialog. The problem is that the user may not accept the dialog, stays on HFS, but now he is logged out. So, if you still want to do it, just add this in custom html "top", but it will work only starting with version 0.44.0 <script>
addEventListener('beforeunload', (e) => HFS.logout() && e.returnValue = 'bye!')
</script> I can provide as usual a preview version if you want |
Beta Was this translation helpful? Give feedback.
-
0.44 beta has a feature that may be interesting for you: "keep session alive", on by default, can be disabled also, check the SESSION_DURATION |
Beta Was this translation helpful? Give feedback.
-
a user is loged and redirected on next page
if user clicks on X in web browser
then the users again backs to address http://192.168.99.247, he does not receive dialog login than
the session is stayed active. how i break session if the user clicks on X button, near log off button that exists in web application?
Beta Was this translation helpful? Give feedback.
All reactions