Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MTS and ASP
Message
De
07/06/2001 07:58:57
Kenneth Downs
Secure Data Software, Inc.
New York, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
MTS and ASP
Divers
Thread ID:
00516220
Message ID:
00516220
Vues:
35
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...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform