If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > ASP in Object Rexx

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-27-04, 09:36
hughewil hughewil is offline
Registered User
 
Join Date: Oct 2004
Posts: 3
ASP in Object Rexx

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.

Last edited by hughewil; 10-27-04 at 11:16.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On