Was the page successfully send to the client?
Posted: Fri Sep 29, 2006 3:17 am
Hi All,
I'm currently designing and implementing a small HTTP-based protole to let a custom hardware device talk to a server.
At some point, the server replies to a device' request but it needs to know if the device actually received the reply. Of course I could require that the device makes an extra GET/POST to acknowledge it but I wondered if there is a way to execute php code after the page was completely sent (thereby avoiding an extra round-trip).
Any lights you may shed is welcome.
TIA,
Serge.
I'm currently designing and implementing a small HTTP-based protole to let a custom hardware device talk to a server.
At some point, the server replies to a device' request but it needs to know if the device actually received the reply. Of course I could require that the device makes an extra GET/POST to acknowledge it but I wondered if there is a way to execute php code after the page was completely sent (thereby avoiding an extra round-trip).
Any lights you may shed is welcome.
TIA,
Serge.