Re: Variable available to All users (static class?)

2007-10-26 Thread Malcolm Tredinnick
On Fri, 2007-10-26 at 20:47 +, SmileyChris wrote: > Sounds like you want something like threading.local > It's not my area of expertise, but you may be able to pick up some > hints on how to use it from > http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser That will only work if

Re: Variable available to All users (static class?)

2007-10-26 Thread SmileyChris
Sounds like you want something like threading.local It's not my area of expertise, but you may be able to pick up some hints on how to use it from http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser On Oct 27, 8:53 am, "William Battersea" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm

Variable available to All users (static class?)

2007-10-26 Thread William Battersea
Hi, I'm probably describing this poorly because I've never done this and I come from a PHP background, but... Is there anyway that I can have some variable available to all the user sessions without resorting to a database. E.g. I suppose I want a variable 'busy'. If any user initiates a piece