What i have at the other end is a Instant Messenger client :)
Cant have the script running till the time the user logs out can
i? And also, different activities are triggered on the server
asynchronously (presence status, instant messages, notifications)
which has to be sent to the client.
On Wed, 22 May 2002 Richard Archer wrote :
>At 5:55 AM +0000 22/5/02, Vinod Panicker wrote:
> >I want the ability to write to a socket thats been created
> >- i want to steal it from Apache, so that i can use it when
> >where i like.
>Why not just keep your script running and have it send more
>to the browser whenever it becomes available. The browser will
>add the new data to the page on display.
>With some clever use of DHTML you could probably make the
>content be updated with the new material.
>When a browser wants to trigger an update it will close the
>existing connection and open a new one. Your running script
>be killed by apache and your new one would build a base page
>start streaming the data in it's place.
>I see nothing here more complicated than a long-running script
>perhaps sessions to manage the browser-initiated connections.
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
Click below to visit monsterindia.com and review jobs in India or
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php