J
Jared
Hi
I have an ASP.NET site that uses web services for security. I have two
servers running the same service. Provided the servers are running I am
able to run a check script and swap servers depending on whether the
service is running properly. This works fine if just IIS has fallen
over.
The problem is that if the server is switched off, the ASP.NET code
continues to search for the server and leaves the application hanging.
Is is possible to add a timeout to the server-side code, so that after
say 5 seconds it stops searching for the server and uses the
alternative one?
Thanks
Jared
I have an ASP.NET site that uses web services for security. I have two
servers running the same service. Provided the servers are running I am
able to run a check script and swap servers depending on whether the
service is running properly. This works fine if just IIS has fallen
over.
The problem is that if the server is switched off, the ASP.NET code
continues to search for the server and leaves the application hanging.
Is is possible to add a timeout to the server-side code, so that after
say 5 seconds it stops searching for the server and uses the
alternative one?
Thanks
Jared