In
this article I am going to explain how to set session timeout in Asp.net application
using web.config
Description:
In
the previous article I have explained Highlight the selected page number inGridview Control and WebForms UnobtrusiveValidationMode requires aScriptResourceMapping for jQuery.
By
default session timeout time is 20 minutes but in many cases we have to change
(increase or decrease) the session time. In this example I am going to change the
session timeout using web.config from 20 minute to 40 minute.
Open
the web.config file and add the below given code to it.
<system.web>
<sessionState timeout="40" mode="InProc" cookieless="false" ></sessionState>
</system.web>
In this article we have learn How to set session timeout in Asp.net using web.config. I hope you enjoyed this article.
No comments:
Post a Comment