>Most of those examples on Rick's site are just passing those ASP objects to VFP, but, it probably would be a better idea at this point to get them from ObjectContext (GetObjectContext) for better compatibility with MTS(if you want to use it) and ASP.NET...
Actually they're not. Those examples in the book were to demonstrate that you can pass those objects down. It then goes write on to talk about the IScriptingContext object (which in later releases has become IObjectContext) to retrieve the objects inline.
+++ Rick ---
>>>Check out the demo (
http://www.dotcomsolution.com/AVFPdemo15/AVFPdemo15.asp) and you'll see what I'm talking about (including HTTP upload) -
all pure VFP code>>I see your point. Maybe you mean this one:
>>
ASP-code:
>>
>>< % ERROR: Set oServer = Server.CreateObject("ASPDemos.ASPTools")
>> Response.Write(oServer.ProcessRequest(Request,Response,Session) )
>> % >
>>
>>
>>
ASPDemos.ASPTools is supposed to be a VFP COM (needs to be a multi-threaded dll in this case) and all the processing is made in it. But we have access to ASP's native Request, Response and Session objects.
>>This is something I have missed while reading the Rick Strahl's book
Internet Applications with Visual FoxPro 6.0>>by Hentzenwerke ISBN:0-96550-939-7
>>This is from page 89 of the book (there it is little bit different but the same idea)
>>
>>Well I must admit I should read the book again.
>><s>
>>
>>Kind Regards