CodeIgniter Forums
Messenger using Code Igniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Messenger using Code Igniter (/showthread.php?tid=11466)



Messenger using Code Igniter - El Forum - 09-09-2008

[eluser]Unknown[/eluser]
I want to develop one simple messenger using code igniter..
how can i develop it so that messages are displayed automatically without pressing refresh button of browser?.
please help me..


Messenger using Code Igniter - El Forum - 09-10-2008

[eluser]Colin Williams[/eluser]
Ajax. Search it. Learn it. Use it. Love it.

Or, go Web 1.0 and have the messages in an iframe with a meta refresh every so many seconds.


Messenger using Code Igniter - El Forum - 09-10-2008

[eluser]Sarre[/eluser]
http://ellislab.com/forums/viewthread/69740/


Messenger using Code Igniter - El Forum - 09-10-2008

[eluser]Pascal Kriete[/eluser]
You might want to reconsider the programming language you're using. Continuous polling works, but it's rather wasteful in the long run.

A long poll is the better solution (open the connection and wait for data), but PHP is the wrong lanugage for that kind of thing.