This article shows how to implement sesstionState inside web.config file. But what I want to do is to clear the session when user is idle for 15 minutes or higher. And reset the time when the user is active within the scope of time. Is this possible? If not how could I do this without using any javascript code/jQuery?
BTW, I have my BaseController where all Controllers inherits to it. Hope someone could give me the better idea.
Use the timeout property in the
<sessionState>configuration section.Documentation:
http://msdn.microsoft.com/en-us/library/h6bb9cz9%28v=vs.100%29.aspx