Apache mod_python and Sessions

Markus Schaber scpusenet at werbung.schabi.de
Fri Jul 4 07:16:17 EDT 2003


Hi,

Does anybody know a module that works with Apache 1.3 mod_python and provides session tracking?

I tried pso, but this didn't work as it should. Running in mod_python gives me one session per server process, and the session data is not rewritten to disk. Explicitly calling session.save() (as stated in the doc) fails with the error message that a dictionary doesn't have the "save" attribute. Calling it as CGI sputs the log files with error messages about missing permissions.

The apache-provided mod_session seems to miss python bindings.

I tried to google, but only found perl modules (except the pso package that doesn't work.)


Does anybody know a working solution?

Thanks,
Markus




More information about the Python-list mailing list