Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MTS and ASP
Message
From
07/06/2001 07:58:57
Kenneth Downs
Secure Data Software, Inc.
New York, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
MTS and ASP
Miscellaneous
Thread ID:
00516220
Message ID:
00516220
Views:
34
Folks,

OK, so now I've got a simple ASP page that calls and destroys an object that I've made stateless in MTS by using stuff like oContext.SetComplete().

Now, my next silly question centers around the syntax for accessing the ASP intrinsic objects, most notably Form variables and QueryString variables. The articles I've read on MSDN suggest something like:
oMTX = CREATEOBJECT(MTX_CLASS)
oContext = oMTX.GetObjectContext
The syntax to obtain form parameters does not seem that difficult, but I actually got stuck on trying to obtain QueryString variables. I would try a simple call like "localhost/MTSTest.asp?Q=Hello" and then try to grab:
lcField1 = oContext.Items("Request").Querystring("Q")
and it just aint'a workin. I get type mismatches. I am very comfortable with the ASP intrinsic objects and with making up web pages that have parameters, forms, and both. I just seem to be stuck on the syntax on accessing them through a COM+ controlled object.

As always,
TIA...
Next
Reply
Map
View

Click here to load this message in the networking platform