Is it right to use global variables in Google app engine?
I used them in one of my app and it turns out they tends to get flushed after small period of time when app is not being used.
If i am right is there a alternative?
Is it right to use global variables in Google app engine?
I used them in one of my app and it turns out they tends to get flushed after small period of time when app is not being used.
If i am right is there a alternative?
When you use webapp2 you can use a registry. http://webapp-improved.appspot.com/guide/app.html#registry And there is a request registry: http://webapp-improved.appspot.com/guide/request.html#registry