Re: Class variables in mod_python

2006-07-30 Thread [EMAIL PROTECTED]
Adrian Holovaty wrote: [...] > You could use the cache framework to store stuff in there temporarily. > Alternatively, I don't think it's a huge problem to store that in the > database. Thanks for your quick response! Good to know that at least I was on the right track as to what my problem was.

Re: Class variables in mod_python

2006-07-30 Thread Adrian Holovaty
here's no guarantee you'll get the same Python interpreter for one request that you got for a previous request. > Is there a workable solution for using class variables with mod_python? > I'd hate to store this temporary information (removed once the user > successfully changed his passwo

Class variables in mod_python

2006-07-30 Thread [EMAIL PROTECTED]
): del self.requests[username] This works fine in the development server. Under mod_python, though, it appears that these class variables don't work (getRequest doesn't return what I've previously put in via newRequest). Is there a difference wrt class variables between mod_python