[mod_python] Authorization cache?

Graham Dumpleton graham.dumpleton at gmail.com
Fri May 23 17:04:03 EDT 2008

2008/5/24 SebK <seb_k at arcor.de>:
> Hello,
> i'm new at this list.
> I'am programming Python for two years.
> I am using mod_python PythonAuthHandler for an internal site.
> The authentication is done via an pickled dict objec on the filesystem.
> I've build in an password changing programm/script witch saves the changed
> dict to the file.
> Problem: After changing the password the new password dosn't work but the old
> one remains working.
> What could be wrong? Or what is missing?

Do you cache the password database in memory after reading it for the
first time, or do you ensure you reread the database on every request?

The processes in mod_python persist across requests, so if you are
relying on cached database in memory this will be the behaviour you


More information about the Mod_python mailing list