Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

My MTS object won't persist

Status
Not open for further replies.

cmaciejewski

Programmer
May 17, 2000
1
GB
Hi,<br>We're writing an IIS application using VB6.&nbsp;&nbsp;It runs on NT Server 4.0/IIS 4.0/MTS.&nbsp;&nbsp;Users submit a query from a browser.&nbsp;&nbsp;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.&nbsp;&nbsp;The idea was to generate a &quot;Please wait...&quot; page with a &quot;Refresh&quot; meta tag that returns to the component every 10 seconds to check on progress.&nbsp;&nbsp;Eventually, when the component has finished, we generate the results page.<br><br>Unfortunately as soon as we release the connection by returning the &quot;Please wait...&quot; 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?&nbsp;&nbsp;There must be other people out there that have needed to do similar things.&nbsp;&nbsp;I hope I've explained this clearly.<br><br>I'm pulling my hair out on this one.&nbsp;&nbsp;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
 
One solution is to user frames (I know people hate these but is a solution)<br><br>Put the Please wait etc in one frame whcih stays connected. Let them carry on in another frame.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top