Tom's Hardware > Forum > Applications > Programming > how to get user's last active time for entire sessions

how to get user's last active time for entire sessions

Forum Applications : Programming - how to get user's last active time for entire sessions

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

hi all,
i'd like to ask whether any of you can help me how to retrieve user's last active time (or idle time) for entire sessions on machine running xp with fast-user-switching enabled
i can use GetLastInputInfo provided by the API, but it can only works on terminal session (session 0), and not for all sessions (http://msdn2.microsoft.com/En-US/library/ms646302.aspx). i don't like using hook, since it'll resource consuming (i've tried that before, so i can take a conclusion about it being not nice)
any replies are kindly appreciated :)

Sponsored Links
Register or log in to remove.
Tom's Hardware > Forum > Applications > Programming > how to get user's last active time for entire sessions
Go to:

There are 1005 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them