how to make my software logout if user is not active
Hi..
I am creating a desktop application in visual studio 2005 using c# with sql server 2000.
In my application every user logs in with his own id and password.
my question is that. I want to logout user automatically if user is not active since 5 minuts.
How it is possible.
Thanks