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
see IIS manager > Application Pool > advanced settings > idleTimeout
20' by default
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 ---
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