cmaciejewski
Programmer
Hi,<br>We're writing an IIS application using VB6. It runs on NT Server 4.0/IIS 4.0/MTS. Users submit a query from a browser. This performs a series of actions (basically, gathering of information from various sources) by creating an instance of a class in an ActiveX DLL that we have put together (this class has been put into an MTS package), calling a Method in the class to start the information gathering, waiting until the class is ready, and eventually generating a results page which is returned to the user.<br><br>Our problem is that because the data gathering class can take several minutes to execute, we don't really want to hog the client browser connection for all that time. The idea was to generate a "Please wait..." page with a "Refresh" meta tag that returns to the component every 10 seconds to check on progress. Eventually, when the component has finished, we generate the results page.<br><br>Unfortunately as soon as we release the connection by returning the "Please wait..." page to the user, MTS shuts down our DLL component.<br><br>How can we execute a lengthy process on the server, without hogging the connection? There must be other people out there that have needed to do similar things. I hope I've explained this clearly.<br><br>I'm pulling my hair out on this one. Have I completely misunderstood the concept of MTS?<br><br>Thanks in advance for any help you can give me on this.<br>Chris Maciejewski