Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sessionState time out not working

I've set the sesstionstate time out to be 60 i.e. 1 hour. But, users are still getting session expired messages after 20min.

we are using Windows Server 2008 to host the asp.net application. could anyone please tell me why could session expire in 20min please?

I'm using windows authentication. below is my web config:

<sessionState  timeout="60" />
like image 375
Nil Pun Avatar asked Feb 15 '26 21:02

Nil Pun


1 Answers

Check the IIS Session amount. It can be vary from the .NET session amount.

Configure Session Time-out (IIS 7)
See also this question

By default, the session expires when the user has not requested or refreshed a page in the ASP application for 20 minutes

like image 97
VMAtm Avatar answered Feb 18 '26 11:02

VMAtm



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!