I can set a 20 minutes timeout for the sessions which means if the user doesn't make a request within the 20 minutes period, his/her session expires.
<sessionState timeout="20" />
But what I need is to be able to expire the session after a certain time no matter the user is still sending requests.
For example, after 4 hours the session must be expired no matter the user sends another request or not; that's to prevent malwares to abuse the default session behaviour...
How to configure or implement it in ASP.NET?
I hoped there would be a config setting but I couldn't find one?
Many thanks