Hi Steve,

I'm not sure what method you're using to assign the @@local$nslookup
variable (which supposedly contains a human readable name), but I've been
discovering the method I've been using (shown here
http://xml-extra.net/webpage.xmlx?node=43 ) does not "always" return a name.

Up to about 5% of the time, the Windows commandline NSLOOKUP doesn't always
capture the human readable name. I've just assumed it does this because it
has a time limit on how long it'll wait for proper a resolution response
(probably just a problem on my network of course).

Therefore, it's possible your IF statement may not execute reliably.

Have you debugged the values to confirm they are correct? Maybe write the
values (and the IF results) to a text file during execution, if you can't
turn debug on in the app.

Hope this helps. Cheers.......

Scott Cadillac,
Witango.org - http://witango.org
403-281-6090 - [EMAIL PROTECTED]
--
Information for the Witango Developer Community
---------------------

XML-Extranet - http://xml-extra.net
403-281-6090 - [EMAIL PROTECTED]
--
Well-formed Development (for hire)
---------------------


----- Original Message -----
From: "Steve Campbell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 10:33 AM
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

Reply via email to