samedi 7 mars 2015

session sharing between users in django

Is it possible to share a session between two users in django ?

Is it possible to do in any other web frameworks (even those in php or ruby etc), or is it something that should never be done, and if I'm thinking of a solution using those, I should come up with a better method ?

I was thinking of making a simple multiplayer tic-tac-to game game for the web, I realize that it can be done nicely using websockets, but for arguments sake, if I could have both users in the same 'game' session in django, I could still have them play. I don't really need a external storage, since I just need to store 9 moves at most (in a matrix like data structure), front end will be updated by ajax.





Aucun commentaire:

Enregistrer un commentaire