I have a network of Raspberry PI's displaying information on various screens around the workplace.
the pi's are displaying web pages from an internal server, and are displaying them like a powerpoint presentation, in a loop.
I am using the meta refresh to move to the next page after x seconds
<meta http-equiv="refresh" content="<?php echo $delay; ?>;url=<?php echo $nextpage; ?>" />
works fine mostly, however on the odd occasion the network must get too congested or something, because the page sometimes fails to display, and I see the firefox 'this is embarassing' page. I then have to physically go to the offending device, and connect a mouse to click 'restore' and it re-connects.
The pages are being served from an internal server with WAMP installed.
How can I increase the timeout for the site?
or can I detect if the server is not responding and try to refresh again, to prevent the system collapse?