[Javascript] Detect internet connection

Richard nomorebull at charter.net
Wed Feb 16 02:56:02 CST 2005


> Hello,
>
>
> Is is possible to write a script that can detect if a user is connected
> to the internet?
>
> Where would I find information that can help me with this?
>
>
> Thanks
>
> Tim
>

Not likely in this century.
Since all activity on the internet is IP based, detecting a particular
user's connection is slightly impossible.
You might be able to detect if a particular IP is active, but an individual
user? No way.
That's kind of like trying to find out if so and so is using the phone
without dialing their number.
As the IP is issued by the server, or to it, which ever, it would have to be
static for a particular user.
Even my cable assigned IP changes from time to time.
You can ping the IP to see if it's active, but that's all you'll get.




More information about the Javascript mailing list