You can do an hgetvars and then check the value of $ENVS(REQUEST_METHOD) to see if the HTTP method was GET or POST.  That can be used in your script logic. 
 
ENVS is actually request::ENVS .  That's something which is apparently not documented, and was a big stumbling block for me.
 
--
Mark Hubbard: [EMAIL PROTECTED]
Microsoft Certified Professional
 
"My grandfather once told me that there are two kinds of people:
those who work and those who take the credit. He told me to try
to be in the first group; there was less competition there."
   - Indira Gandhi
----- Original Message -----
Sent: Tuesday, July 16, 2002 8:55 AM
Subject: GET and POST variables

How can i get POST and GET variables in separate way.
 
For example:
My page recieve:
Var1=Val1 by POST method
and
Var1=Val2 by GET method
 
And i need to do this:
set VariablePost = Var1 POST
set VariableGet = Var1 Get
 
There is a solution for this?
 
Damian
PD: sorry about my primitive english

Reply via email to