Can any body please tell me unit of session time which we specify in ASP.Net Web.config in sessionstate,
Is it in minute,second or miliseconds?
Thanks
Session timeout represents the event occuring when a user does not perform any action on a web site during an interval (defined by a web server). The event, on the server side, changes the status of the user session to 'invalid' (ie.
Typical session timeouts are 15- to 45-minute durations depending on the sensitivity of the data that may be exposed.
In ASP.NET we can set the session timeout in the web. config file.
<sessionState timeout="number of minutes"> <sessionState/>
HttpSessionState.Timeout Property
Gets and sets the amount of time, in minutes, allowed between requests before the session-state provider terminates the session.
<configuration> <system.web> <sessionState mode="InProc" cookieless="true" timeout="30" /> </system.web> </configuration>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With