Reply to Re: PHP & open connections

Your name:

Reply:


Posted by Jerry Stuckle on 10/02/06 18:53

Lenard Redwood wrote:
> Jerry Stuckle wrote:
>
>>You can't. HTTP is a pull only protocol. You can use javascript on the
>>client to pull the info on a regular basis (i.e. every 30 seconds). But
>>you can't push the data out.
>
>
> Exactly, actually each time user A writes a message and hits "Enter" it
> is sent right away to the server. But how can this message be thrown
> into the open connection that user B is using?
> Thanks,
>
> Lenard
>

That's what I'm saying. You can't with the http protocol. It's not
designed for that.

Use javascript to update regularly or another tool such as java which
can define its own protocol (java on the server and an applet on the
client).

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация