I have a Windows application in .NET 2.0 on c#. I am planning to implement Session time out throughout the application. The session time out interval has been configured using the app.config. In the main menu screen which comes after login, I have a timer which gets started as soon as the main menu loads. If the user does not selects any menu item then the interval would continue till the end and session expire message would be displayed. On click of OK the control would be redirected to Login form. If the user clicks on any meu item then the timer gets resetted to the default value and the screen opens. In this case when the timer value ends I am getting the session time out message but both the screen opened from the menu and the main menu screen are not getting closed.