Silverlight Auto logout user after 10 minutes of inactivity

On August 23, 2011, in Tips, by admin

  Many projects have requirement to logout a user after some time of Inactivity user has not performed any activity for past 10 minutes we need to auto logout the user. Solution Use DispatcherTimer SMNetworkTimer = new DispatcherTimer(); Sample implementation App.xaml.cs   Declare a timer in app file as as follows public static System.Windows.Threading.DispatcherTimer _Logouttimer […]

Tagged with:  
Premium WordPress Themes