C # Web Forms - Losing session

1

I have a Web Forms application that saves the session when the user logs in, with a timeout of 21 minutes without using the application to expire the session:

<sessionState timeout="21" />

Performing tests on the local machine, the limit works perfectly, however we have several clients using in production, with a publication for each client using the same settings in IIS, even configured the same 21 minutes. What is happening is that on some clients the session is expiring before the configured time. Checking the code, I did not find anything that could be implying this, because Session.Abandon() , is being called only in the logout of the application, as it really should be. I wonder if someone has already gone through this, and have you solved the problem?

    
asked by anonymous 18.05.2016 / 14:38

1 answer

0

I believe the problem is in IIS configuration. Probably the timeout setting is shorter.

    
18.05.2016 / 15:09