ASP.NET HttpContext.Current.Application Lifespan

I have a web service that tracks a user through work calls. I save my users information in the HttpContext.Current.Application variable, which is HttpApplicationState. I noticed that sometimes my key is, sometimes it is not. Because of this, I assume that my application is expiring.

Is there any way to configure this? If so, how?

READ!

+3
source share
2 answers

After x minutes of inactivity, IIS will terminate workflows. I assume that the HttpApplicationState will be lost.

You can disable the idle timeout, see How to prevent / extend idleTimeout in IIS 7?

+1
source

iss . idletime 0 . 0 iis .

+1

All Articles