On Monday, November 5, 2012 7:07:23 PM UTC+1, drunksaint wrote:
 

> This model was running perfectly in the DEV deployement. When I moved to 
> PROD in apache, this broke (as in there are multiple instances of scObj 
> being created, so a score update from player-1's move on player-2 is not 
> reflected in a different move by player-3 on player-2) . I need to simulate 
> a singleton class behaviour / global scObj behaviour, which I am not able 
> to do.
>

In web applications, shared state is usually implemented using a database 
of some sort (relational or not). 

 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/IG-ttb666DMJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to