Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASP + VFP COM object
Message
De
17/09/2008 10:22:33
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
ASP + VFP COM object
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01348225
Message ID:
01348225
Vues:
63
Hi,

we are running ASP (minimal code in the front end) with calls made to a VFP COM object. The system runs on 3 web servers connected to a file server. The HTML is built inside the DLL and sent back to the ASP page.

We are passing the Request object as a parameter to the methods called from the ASP page. We are making 2-3 calls where we reduntately send the Request object as a parameter and we are getting rid of the additional passing of this object.

However, we are looking at not passing the Request as a parameter at all. Instead we could use:

1. IScriptingContext interface using OnStartPage() and OnEndPage()

2. ObjectContext

From a perfomance point of view which option is faster? 1 or 2 or 3(which is what we use now - passing the Request object as a parameter)

Thanks.
Répondre
Fil
Voir

Click here to load this message in the networking platform