B
BJ
Problem: How can I code up a client side process to detect if the
network is available?
Synopsis: I am writing ASP.NET input forms for a Panasonic Tuff book.
The users will be walking around the plant with a wireless connection.
There are some pockets of non-connectivity. I've been tasked with
disabling the submit button on the form if the network is unavailable.
Possible solution: I can instantiate a timed process (VB.NET 2.0
console application) that will utilize the GetIsNetworkAvailable method
when the form opens. If the network is not available, I can update a
flat file on the client. The ASP.NET program would utilize Javascript
behind the submit button that would interrogate the flat file and
cancel the Submit process if no network is available.
My problem with this solution is timing. From the time the network is
checked to the time the file is checked.
Is there a way, on the client, that I can check the availability of the
network?
network is available?
Synopsis: I am writing ASP.NET input forms for a Panasonic Tuff book.
The users will be walking around the plant with a wireless connection.
There are some pockets of non-connectivity. I've been tasked with
disabling the submit button on the form if the network is unavailable.
Possible solution: I can instantiate a timed process (VB.NET 2.0
console application) that will utilize the GetIsNetworkAvailable method
when the form opens. If the network is not available, I can update a
flat file on the client. The ASP.NET program would utilize Javascript
behind the submit button that would interrogate the flat file and
cancel the Submit process if no network is available.
My problem with this solution is timing. From the time the network is
checked to the time the file is checked.
Is there a way, on the client, that I can check the availability of the
network?