• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Messenger using Code Igniter

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..

[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.


[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.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.