Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading ASP session variables
Message
De
01/03/1999 11:53:07
Eric Barnett
Barnett Solutions Group, Inc
Sonoma, Californie, États-Unis
 
 
À
24/02/1999 22:11:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00191260
Message ID:
00192710
Vues:
17
Depends. If you are calling a VFP COM object from ASP, I find it works really well just to pass the ASP objects as parameters to VFP, a la:

<%SET oMyObj=Server.Createobject("mydll.myclass")
oMyObj.dosomething(Request)%>

DEFINE CLASS myclass OLEPUBLIC
FUNCTION dosomething
LPARAMETERS Request
[Use the Request Object here]
ENDFUNC

I'm sure you could do the same thing with a Session object.

One thing to be careful about here is that VFP does not support the concept of a default method. So what would be Request.Form("Var") in VB is Request.Form("Var").item() in VFP.

>What is the best technique to use to read ASP session variables from Visual FoxPro?
Eric Shaneson
Cutting Edge Consulting
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform