Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FOXISAPI call is very slow
Message
From
08/03/2004 13:15:57
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
FOXISAPI call is very slow
Miscellaneous
Thread ID:
00884163
Message ID:
00884163
Views:
54
I have a large vfp 7 application myapp.exe file which contains one olepublic class, myclass .

I call this class from Apache 2 using

https://localhost/foxisapi.dll/myapp.myclass.myproc

This call takes 20 seconds (!) and only after that it returns correct data.

If I run modified foxweb sample shipped with vfp by calling

https://localhost/foxisapi.dll/foxweb.server.hello

it returns data immediately. (I modified foxweb sample to return http headers).

Any idea why foxisapi.dll delays result ?


myproc code:
LPARAMETERS p1,p2,p3
p3=0
this.cLastErrorMsg = ''
rv = "HTTP/1.1 200 OK" + CHR(13)+CHR(10)
rv = m.rv + "Content-Type: text/html" + CHR(13)+CHR(10)
rv = m.rv + "Expires: Sunday 15-May-94 14:00:01 GMT" + CHR(13)+CHR(10) + CHR(13)+CHR(10)
m.rv = m.rv + "< HTML>< body>< pre>"
rv = rv + TRANSFORM(p1)+TRANSFORM(p2)+TRANSFORM(p3)
m.rv = m.rv + "< /pre></ body>< /HTML>"
RETURN this.cLastErrorMsg+ ' '+rv
Andrus
Reply
Map
View

Click here to load this message in the networking platform