I have an ASP.NET MVC 3 (Razor) Application and I am faced with frequent session timeouts.
Is there a way to increase the value of the session?
2 Answers
You're not providing enough details, such as your configuration, description of the problem etc.
What's happening more exactly? This article may help:
Random Session Timeout in ASP.NET MVC3
If not, you could use a configuration like this in your web.config file :
<configuration>
...
<system.web>
<sessionState mode="InProc" timeout="30" />
</system.web>
...
</configuration>
Here the session timeout is being set to 30 minutes, for example.