function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MadboyMadboy 

How to capture the logout event in site.com pages

I'm using the self-service template (Napili Community template) in our forum implementation. I would like to capture the event of the user whern it logins and logout. My objective is to set a value to a user attribute when it logins and logout. How can I capture this?
ShashankShashank (Salesforce Developers) 
How about login flows? https://help.salesforce.com/apex/HTViewHelpDoc?id=security_login_flow.htm&language=en_US