Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading ASP session variables
Message
From
01/03/1999 11:53:07
Eric Barnett
Barnett Solutions Group, Inc
Sonoma, California, United States
 
 
To
24/02/1999 22:11:22
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00191260
Message ID:
00192710
Views:
14
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
Previous
Reply
Map
View

Click here to load this message in the networking platform