You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hi
I am trying to finish a phonegap app with django as a backend. I want to implement web sockets in this app. To give a use case, there are an array of buttons that all the users can see, if one user makes any changes to the button (enable/disables) the change should be visible to other users as well. The way I am coin it right now is after every 3 seconds I am sending a call to the server weather the status of the button has changed and if yes I refresh the page. I believe there could be a better solution to this.
zubair alam
unread,
Aug 25, 2014, 12:35:53 PM8/25/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
I think server should notify all the clients about the change in states whenever a client has changed shared states. I guess in your solution, client is asking server weather there is some change in the shared states or not, which is not a correct approach.