Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: second request is delayed 10 seconds
User44

Posts: 3
Member Since: 05/09/02
posted July 2, 2002 12:19 AM

When I make a call from my asp page to a dll I have created using webtool, the first request comes through in less than a second and the second request ALLWAYS comes through greater than 10 seconds.

ASP:
myHTTP = new myDLL.getImage
myHTTP.returnImage("http://myserver/images/bkg.asp","c:\pic\myImage1.gif")
myHTTP.returnImage("http://myserver/images/bkg.asp","c:\pic\myImage2.gif")
set myHTTP = nothing

DLL:
public sub returnImage(sServer as string, sDir as string)
 tStart = timer ' set start time
 sContent = ""
 set http1 = DartWeb.http
 http1.timeout=30000
 http1.url = sServer
 http1.get sContent
 writeFile(sContent) 'function to write the results to file
 t_end = Timer 'end time
 myTime = t_end - t_start 'total response time
 set http1 = nothing
end sub
Jon Belanger



From: Rome, NY USA
Posts: 310
Member Since: 06/10/02
posted July 2, 2002 4:01 PM

I'm sure how to duplicate this. Could you send your code in an email? At least something that is functional and I will reproduce your problem. Send to:

support@dart.com

  with subject- attn: Jon Belanger
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX