I have a basic question about Salesforce session: How can I logout my users automatically when they close the browser window?
Tell me more
×
Salesforce Stack Exchange is a question and answer site for
Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.
|
|
Well, to log a user out you redirect them to /secur/logout.jsp ... however enforcing that mechanism would either have to be done via JavaScript or in theory you could also use a Browser Extension |
|||
|
|
|
I think if we talk about custom pages then by using JS this may be possible (that also need POC), but other than that it is quite impossible to do this with all native pages (home page component can help?). |
||||
|
|