Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FOXISAPI call is very slow
Message
De
08/03/2004 13:15:57
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
FOXISAPI call is very slow
Divers
Thread ID:
00884163
Message ID:
00884163
Vues:
55
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
Répondre
Fil
Voir

Click here to load this message in the networking platform