Page 1 of 1

Was the page successfully send to the client?

Posted: Fri Sep 29, 2006 3:17 am
by sergiow
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.

Posted: Fri Sep 29, 2006 3:39 am
by volka

Posted: Fri Sep 29, 2006 4:35 am
by sergiow
thanks for the pointer. It looks very promising. I'll investigate it.