So I have created a db table with name 'messages' and fields= message, sender, 
receiver,date_time where sender is auth.user_id by default and unchangeable. 
date_time represents when the message was sent out.
So when one user opens his message view he can see all his messages (designed 
such a way that each sender's message is displayed separately and sorted 
according to datetime.) But the problem is the page is still and to get the 
updated thread of messages he will have to reload the page. How to do it in 
such a way that he doesn't have to reload it always and the chat system works 
like facebook and other sites.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to