On 3/5/03 12:49 PM, "David Shelley" <[EMAIL PROTECTED]> wrote:
> Steve,
>
> Here's a simple debugging technique that might help. Duplicate the line with
> the <@if> tag, and put a space between the < and @ on the first one.
>
> < @if expr="('<@CGIPARAM CLIENT_IP>' != '@@mypidaddress') And
> ('@@local$nslookup' != '@@machinename')">
> <@if expr="('<@CGIPARAM CLIENT_IP>' != '@@mypidaddress') And
> ('@@local$nslookup' != '@@machinename')">
> ...
> </@if>
>
> Then when you run the taf file, the first line will be displayed as text,
> showing you the values it's using in the if tag, and should help to debug
> it.
>
> Dave Shelley
>
> -----Original Message-----
> From: Steve Campbell [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 12:33 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Witango-Talk: Simple If ..Else if
>
>
> This is a simple problem.but for some reason I can't find the reason it's
> not working, unless the user variable is not timed out yet, which I just
> don�t think that's it.
>
> I am sniffing out the IP and machine name of users that hit a taf. Right
> after the external action doing the above, I search a database for the ip
> and/or the machien name.
>
> I then do an "If'
>
> <@CGIPARAM CLINET_IP> != @@mypidaddress
> And @@local$nslookup != @@machinename
>
> If those are true then they go off to fill out the form
>
> The Else if of course does the same thing except "=" .
>
> For some reason when I hit the taf, it takes me to the Elseif everytime. I
> cleaned out the database entries, sothat it's completely empty. I have even
> had others try it and it takes them to the Elseif.
>
> Am I missing something here?
>
> Thanks
> Steve
>
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
> with unsubscribe witango-talk in the message body
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
> with unsubscribe witango-talk in the message body
Thank you very much..I will try this
Steve
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body