Home » FAQ » ASP.NET » Custom Controls » How can session expire time can be set?
The session will normally expire in 20 minutes.
To set the session expire time add the following code to Gloabl.asax
void Session_Start(object sender, EventArgs e) { Session.Timeout = 60; }
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with