Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Simultaneos connections
September 3, 2007, 3:52 pm
rate this thread
simultaneos connections and I was wondering what is the best way to do
that. So, some questions came to my mind.
Should I use a database to store the messages?
if yes, should I use a persistent connection?(php is running as an
or maybe SQLite can handle it?
A single php file will handle too many connections?
Share your opinions. Thanks ;-)
Re: Simultaneos connections
PHP is probably not the best way to handle this. There is no way to
notify the client that there has been an update (HTML is
request/response - you must have a request before you can send a
refreshing the window, or the user will need to keep hitting the refresh
button on the browser. Either way would be awkward and put an
unnecessarily high load on the server.
Better would be to do it with something like a Java applet.
Remove the "x" from my email address
JDS Computer Training Corp.