0

I am creating a Web api in which I want to check that whether the client is inactive for 30 minutes. if it is so the user will be logged out automatically. I have no idea how to perform it. Please help

indira
  • 11
  • 1
  • 7
vivek
  • 79
  • 2
  • 11
  • dupicate [link](http://stackoverflow.com/questions/15519100/how-to-detect-page-is-not-in-use-for-more-10-min) – Microsoft DN Sep 10 '13 at 06:10
  • Are you looking for this http://msdn.microsoft.com/en-us/library/windows/desktop/ms646302%28v=vs.85%29.aspx – Sriram Sakthivel Sep 10 '13 at 06:30
  • GetLastInputInfo function works for only desktop application. My application is not desktop application – vivek Sep 10 '13 at 06:36
  • I want to check from server side that whether the user is active or not. my Application is a mvc4 web service. – vivek Sep 10 '13 at 08:27

0 Answers0