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
SFFSFF 

How can I tell how long a user was logged in?

Please note that I don't want to know the interval between logins - I want to know how many minutes (or hours) elapsed between a login and the subsequent logout. Is it possible to calculate this in SFDC, using any combination of technologies?

 

Thanks,

Jia HuJia Hu
I would like to know this too. But I guess the most difficult is how to determine exactly when users log out.
chinnuchinnu

Wierd idea. I haven't tried it.

You can create a javascript function which keeps on monitoring and updating some where asynchronously and add it to your left navigation.