You should be able to manage this from web.config:
<system.web> <sessionState timeout="x"/> ... </system.web>
I am not an MVC expert, but changing this behavior deployed to ASP.NET is not something I expect.
This can also be configured using the IIS management application; it is not determined which version of IIS you are using, but in this article Technet describes what should be easy to follow even in older versions (prior to IIS7). Note that behind the scenes this method still controls the settings in the web.config file, so if it is versioned, I would not recommend changing it that way.
source share