I am trying to write a ASP page in O Rexx.
I am using the <@language="object rexx">
My question is how do I read post information?
I know response~write is the same as response.write
but request~form doesn't work.
so what is the equivalent to request.form in O rexx?
UPDATE:
ok appearantly request~form does work but it isn't doing what I need it to.
I am trying to take the form input and use it in a ADDRESS command, but it comes htrough as an OLEOBJECT instead of the value entered.
my code is below
<%@language="object rexx"%>
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<form name=f1 id=f1 action=testap.asp method=post>
<input id=uid name=uid>
<input type=submit>
</form>
<%
if request~form("uid") <> "" then
do
ruid = request~form("uid")
parse var ruid uid
address axc 'sesscmd "c u='uid'" session(mvscon)'
end%>
</BODY>
</HTML>
I also tried it without the parse and it still has a value of an OLEOBJECT.
Thanks for any help.