Note: This article was originally published in 2009. Some steps, commands, or software versions may have changed. Check the current .Net documentation for the latest information.

Prerequisites

Before you begin, make sure you have:

  • Visual Studio or .NET CLI installed
  • .NET Framework or .NET Core SDK
  • Basic C# programming knowledge

How can you change the time the session is alive in ASP.Net? I want to be able to control the time my session objects are available for a particular user session. Also, what is the default time a Session is available?