[web2py] Re: How to share data between web requests(static variables)

2013-03-13 Thread Niphlod
if you use sessions, consider something different then the disk-based ones 10 times a second can get messy faster then you think if multiple users are involved. I'd use caches, but default caches like cache.ram or cache.disk would have nearly the same problem. Consider switching to memcach

[web2py] Re: How to share data between web requests(static variables)

2013-03-13 Thread Alan Etkin
> I am sending ajax requests to the server every 100 milli secs. And I want > to share a variable between every request that need to be updated on every > request. I tried using global variable but it din't worked. Neither could I > find anything like static variables. > Why you don't use th