Ask a Question related to PHP Development, Design and Development.
-
john henry bonham #1
Quick host alive check
In an online submission for a quote we've had intermittent errors if the
mysql server goes down. This errors cause prices to display at £0.00
What's the best way to check the host is alive before the rest of the
code runs?
john henry bonham Guest
-
Keep-Alive Connections...
Hi Paul, You may try calling the web service asynchronously to see if it will help: ... -
Quick Mac Check? and anyone else who would like to check it too
http://jaschob.com/protoSite/index.html Hi All, Just finished up a prototype site design. I have tested this with winpxpro, EI6 & NN7. Once at... -
SoapHttpClientProtocol and Keep-Alive
My client application uses an instance of System.Web.Services.Protocols.SoapHttpClientProtocol. I would like to use the HTTP 1.1 Keep Alive header... -
Host Check...?
http://www.beamhost.co.uk/hosting.html I'm moving hosts with our site at work... I found these guys and am very impressed. Has anyone had any... -
Quick Site Check Please
Hello all! If I could get a quick site check please. I was having problem with this page ... -
Virgil Green #2
Re: Quick host alive check
"john henry bonham" <with@he.ld> wrote in message
news:4174e983$0$94917$5a6aecb4@news.aaisp.net.uk.. .I've often seen the suggestion to issue the query "select 1".> In an online submission for a quote we've had intermittent errors if the
> mysql server goes down. This errors cause prices to display at £0.00
>
> What's the best way to check the host is alive before the rest of the
> code runs?
However, such a technique won't do you any good if the server goes down
right after than.
Nothing will beat basic error checking after each attempted database access,
coupled with appropriate error handling.
- virgil
Virgil Green Guest



Reply With Quote

