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
Loading
Wim SturkenboomPosted Oct 3, 2014, 6:54 AM
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 [/quote]
Have you considered to use a timer? If the user clicks a button, selects another tab or whatever, you can restart the timer? When the timer fires, you can close the application or logout the user.
Wim SturkenboomPosted Oct 3, 2014, 6:52 AM
check from Gloable.asax file Under Session_Start Section if session is null then redirect to the Particular page
[/quote]
That does not work for a windows application ;-)
Vithal WadjePosted Oct 3, 2014, 6:37 AM