I explicitly declare my arguments search or post.
My first action is to save all POSTARGs to user scope variables, so they can be validated and used by apps to which a redirection is made (eg. after a re-login request).
I purge the POSTARG user variables as the last action.
On Friday, February 11, 2005, at 08:39 AM, 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 Authorized Witango & MDaemon Reseller Available for Web App. Developement
-----Original Message----- From: John McGowan [mailto:[EMAIL PROTECTED] Sent: Friday, February 11, 2005 9:29 AM To: [email protected] 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
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 Authorized Witango & MDaemon Reseller Available for Web App. Developement
-----Original Message----- From: Bryan Hughes [mailto:[EMAIL PROTECTED] Sent: Friday, February 11, 2005 8:57 AM To: [email protected] 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
_____________________________________________________________________ __
_
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
______________________________________________________________________ __
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
_______________________________________________________________________ _
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
