Related Tags:
Asp.Net It was developed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. Learn More, C# C# (pronounced "C-sharp") is an object-oriented programming language from Microsoft that aims to combine the computing power of C++ with the programming ease of Visual Basic. C# is based on C++ and contains features similar to those of Java. Learn More, ASP.NET MVC The ASP.NET MVC framework is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentication. The MVC framework is defined in the System.Web.Mvc assembly. Learn More, IIS (Internet Information Services) IIS Stands for "Internet Information Services." IIS is a web server software package designed for Windows Server. It is used for hosting websites and other content on the Web. Microsoft's Internet Information Services provides a graphical user interface (GUI) for managing websites and the associated users. Learn More, web.config A configuration file (web.config) is used to manage various settings that define a website. The settings are stored in XML files that are separate from your application code. ... Generally a website contains a single Web.config file stored inside the application root directory. Learn More,

how to increase default session timeout for mvc site using web.config?

Description:Currently my site’s session expires a bit quickly while my site contains some huge forms for users to fill out so I wanted to increase the session timeout for the users to get enough time.

Posted by: | Posted on: Mar 18, 2022

1 answers



You can simple use following code to set/ increase the session timeout for example if you want to setup the timeout for an hour.

<sessionState timeout="60"></sessionState>

Note: In the above code 60 is for 60minutes

Replied by: | Replied on: Mar 21, 2022


Code block Hyperlink bold Quotes block Upload Images