IIS and Web Servers
ISAPI Extension Life Time
Gravatar is a globally recognized avatar based on your email address. ISAPI Extension Life Time
  Simon White
  All
  Jul 9, 2018 @ 08:15am

Hi

I created an ISAPI extension and it works just fine but I do not know what controls how long it is loaded in memory. It appears that IIS unloads it after 20 minutes of idle time. I am wondering what controls this setting and where I can make it longer. I am running Windows Server 2016 IIS 10.

Thanks, Simon

Gravatar is a globally recognized avatar based on your email address. re: ISAPI Extension Life Time
  FoxInCloud Support - Thierry N.
  Simon White
  Jul 9, 2018 @ 09:42am

see IIS manager > Application Pool > advanced settings > idleTimeout

20' by default

Gravatar is a globally recognized avatar based on your email address. re: ISAPI Extension Life Time
  Rick Strahl
  Simon White
  Jul 9, 2018 @ 11:21am

The lifetime is determined by the IIS host process which is the ApplicationPool. By default Application Pools timeout after 20 minutes unless - as Thierry mentioned - you change the idle timeout.

FWIW, building an ISAPI extension is probably doing things the hard way 😃. Much easier to create a .NET Handler or Module that can accomplish the same tasks but without having to deal with unmanaged, unsafe C++ code and the nastiness that is ISAPI.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: ISAPI Extension Life Time
  Simon White
  Rick Strahl
  Jul 17, 2018 @ 05:14pm

Thank-you. I had looked in the Application Pool settings but somehow missed it. So thanks Thierry & Rick for pointing me in the right direction. In regards to building the ISAPI extension it was very easy in PureBasic and it works very fast.

Simon

© 1996-2024