General information
Category:
Internet applications
Title:
Help me resolve a dilemma.
This is a question about using ASP objects in FoxPro.
When calling a method on a FoxPro COM component from ASP is it better to Pass the ASP Request and Response objects as parameters...
Dim MyObject
Set MyObject = Server.CreateObject("DllName.ClassName")
MyObject.ProcessForm Request Response
Or
Is it better to obtain the ASP objects from the Context object within the code of the method...
oAppServer = CreateObject("mtxas.appserver.1")
oObjContext = oAppServer.GetObjectContext()
oRequest = oObjContext.Item("Request")
oResponse = oObjContext.Item("Response")
I would very much appreciate your views on the matter.
TIA
- Charles
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only