![]() |
| ISAPI Loader |
|
Features:
|
|
Update ISAPI dll's on the fly even while being hit by requests!
Problem: If you develop and deploy isapi dll's the major problem you will run into is the fact that you cannot simply overwrite your old isapi dll with a new one, this is because once your dll has been loaded by your web server – it will be “locked” preventing you from overwriting it. When this happens, normally the only way to update your dll is to restart your web server. This can cause a major disruption and usually involves shutting down other web sites or even your mail system. In a critical environment, this is not acceptable. The solution to the problem is my ISAPI Loader. Purpose: The purpose of the ISAPI Loader is to allow you to update your isapi dll without shutting down your WebServer, and if your user sessions are not volatile then the only interruption users will see are your changes. This means updates on the fly! How it works: The ISAPI Loader is a “stub” for your ISAPI application and has control over loading and unloading of your dll. When you have an update, the loader will unload your old dll and load the new one. You might be wondering how this works while users are hitting your dll. Before the loader unloads your dll, it lets all current user requests continue but “puts on hold” any new requests. Once the requests are processed by the old dll, the loader swaps out dlls. After the new dll is loaded, all the requests that were put on hold are then processed by your new dll. |