How can we logout when user closes the tab o browser?

Hi

When I close the page and go back in, you're still logged in.
Is there a way to log out when you close the page?
If so, what would the event be?

Browsers don't supply tab closure events. (They used to, but spammers would use them to open popups and do other bad things, so, nope, not allowed.)

What you end up with is a Session timeout event in Perspective, and the timeout duration should also be configurable.

2 Likes

@Julio_Varela Perspective Session Event Scripts - Ignition User Manual 8.1 - Ignition Documentation