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