|
FindConnection
At 08/39 19/05/00 -0700, Terry Schussler wrote:
>Recommendations
>
>What I recommend you do is a series of tests:
>
>-- check the netPresent system property to make sure that the NetLingo Xtra
>loaded
>-- check (the environment)[#internetConnected] property to attempt to
>determine if TCP/IP is available
>-- connect to a remote server using a network command, such as getNetText
>and checking the status of the connection with getStreamStatus. I
>recommend using an IP address and not a host name to do your test as the
>computer's DNS access may fail independently of access to the internet.
>
Thanks for this list of steps, Terry.
in order to circumvent problems with caching when doing that test with getnettext it
is an option to add a prameter to the url like
anUrl = "http://www.myserver.com/cgi-bin/logConnexAttempts.pl"
netID = getNetText( anURl & "?dummy=" & the milliseconds)
This would force the browser to really reload the url on each attempt.
|