I'm trying to POST information from a WML page to a page called Engine.asp which extracts the information (Request.Form("....")) and sets the property of an ActiveX EXE with it.
For example, the following POST string is produced from the page:
StreamType=playback&DateFrom=051105&DateTo=051105&TimeFrom=1400&TimeTo=1401&Camera=0.Constant
Which is as expected.
If I then use
Response.Write "StreamType: " & Request.Form("StreamType")
on the page Engine.asp, the POSTed information shows up just fine whereas if I use the line
RequestQ.StreamType(Request.Form("StreamType"))
to set the property in the ActiveX it produces a blank. The ActiveX simply allows my web page to send into a particular message queue, and if I examine the message at the other end it shows up as
Message=""
I would suspect that the ActiveX is in error except that if I do exactly the same from an HTML page rather than a WML page the message is received as
Message=playback
which corresponds with StreamType in the POSTed information.
So why is it that when I POST the information from a WML page it can be extracted using Request.Form and placed on a subsequent page, but doesn't place any information in the ActiveX's property, yet when I POST the information from an HTML page the ActiveX's property is set with the relevant POSTed information?
The same results are obtained whether I use POST or GET.
This has been driving me mad for four days now.
For example, the following POST string is produced from the page:
StreamType=playback&DateFrom=051105&DateTo=051105&TimeFrom=1400&TimeTo=1401&Camera=0.Constant
Which is as expected.
If I then use
Response.Write "StreamType: " & Request.Form("StreamType")
on the page Engine.asp, the POSTed information shows up just fine whereas if I use the line
RequestQ.StreamType(Request.Form("StreamType"))
to set the property in the ActiveX it produces a blank. The ActiveX simply allows my web page to send into a particular message queue, and if I examine the message at the other end it shows up as
Message=""
I would suspect that the ActiveX is in error except that if I do exactly the same from an HTML page rather than a WML page the message is received as
Message=playback
which corresponds with StreamType in the POSTed information.
So why is it that when I POST the information from a WML page it can be extracted using Request.Form and placed on a subsequent page, but doesn't place any information in the ActiveX's property, yet when I POST the information from an HTML page the ActiveX's property is set with the relevant POSTed information?
The same results are obtained whether I use POST or GET.
This has been driving me mad for four days now.