Sounds like encoding. Have you successfully
passed multiple args with your other working TAFs?
-----Original Message-----
From: Bryan Hughes
[mailto:[EMAIL PROTECTED]
Sent: Friday, February 11, 2005
4:04 PM
To: [email protected]
Subject: Re: Witango-Talk: Losing
search arg values
Well, looking more closely at the witango log and then
at the server log I notice that the @ARGNAMES it pulls are "proxy"
and "?drv_id" for some reason it's showing the "?" as port
of the variable name, therefor references to "drv_id" are not found.
Looking at the web server log "?" only appears once.
Any ideas?
Bryan Hughes
TFG-PIU
954-493-6565 x122
On Feb 11, 2005, at 12:06 PM, John McGowan wrote:
Yes,
I never felt like distinguishing between search and post args did anything but
cause problems for our developers. If you're going to try to use it as a
"security" measure, it's a joke, because if someone figures out that
they need a post arg, they can fake it very easily if they know anything about
HTTP.
/John
Ben Johansen wrote:
I
agree with John here.
I use @ARG exclusively
I use this little snippet to see what args are
coming over.
Note: the comment is if you want to distinguish
between search and post args
Set #2 to "search" or "post"
and uncomment if you want to specify
<hr>
<@ASSIGN NAME="theArgs"
VALUE="<@ARGNAMES>" SCOPE="request">
<@COMMENT><@ASSIGN
NAME="theArgs" VALUE="<@FILTER ARRAY='theArgs'
EXPR='#2=post'>"
SCOPE="request"> </@COMMENT>
<@FOR START="1" STEP="1"
STOP="<@NUMROWS ARRAY='theArgs'>">
@@request$theArgs[<@CURROW>,1] = <@ARG
@@request$theArgs[<@CURROW>,1]>
(@@request$theArgs[<@CURROW>,2])<br>
</@FOR>
<hr>
Ben Johansen - http://www.pcforge.com
/color>
Authorized Witango & MDaemon Reseller
Available for Web App. Developement
-----Original Message-----
From: John McGowan [ mailto:[EMAIL PROTECTED]
/color>]
Sent: Friday, February 11, 2005 9:29 AM
To: [email protected]
/color>
Subject: Re: Witango-Talk: Losing search arg
values
Bryan,
Does it work if you use @ARG instead of @SEARCHARG?
/John
Bryan Hughes wrote:
I have the
taf looking up all the information, I just pass a pointer
http://localhost/svcs/web/irprocess.taf?drv_id=18393&proxy=1
/color>
Only two args.
Bryan Hughes
TFG-PIU
954-493-6565 x122
On Feb 11, 2005, at 11:06 AM, Ben Johansen wrote:
Hey,
Do you have a sample of the URL?
Is the length greater than 255 chars?
Ben Johansen - http://www.pcforge.com
/color>
Authorized Witango & MDaemon Reseller
Available for Web App. Developement
-----Original Message-----
From: Bryan Hughes [ mailto:[EMAIL PROTECTED]
/color>]
Sent: Friday, February 11, 2005 8:57 AM
To: [email protected]
/color>
Subject: Witango-Talk: Losing search arg values
I've created a trigger in my MS SQL database that
uses MSXML to call
URLs.
This allows me to have the database trigger web
applications.
I have it working fine for three TAFs but another
one will not
recognize the search arg values passed to it.
I've even opened up a web browser and tried to
manually call the TAF
passing the URL encoded search args with no luck.
@SEARCHARGNAMES gives me an array with the names
of the search args but
when I use @SEARCHARG to dislpay the value it's
empty.
The same logic works on three other TAFs.
Anybody had any experience with TAFs losing search
arg values?
Bryan Hughes
TFG-PIU
954-493-6565 x122
_______________________________________________________________________
_
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
/color>
_______________________________________________________________________
_
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
/color>
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
/color>
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
/color>
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
/color>
________________________________________________________________________
TO UNSUBSCRIBE: Go to
http://www.witango.com/developer/maillist.taf