My application consists of a VB6 DLL that is called from ASP. It needs to manage a pool of connections to a (non-standard) database. I implemented this by using a global variable, but this is being reset every 20 minutes due to an ASP setting causing the application to crash.
A previous poster said that DLLs in ASP are all created in their own address space, thus making global variable solutions completely unworkable, as each page access would have its own ‘globals’.
That doesn’t fit with my observation that globals seem to exist until the DLL reaches its idle timeout.
Which of us is right? What scope can I assume on DLL globals?