[mod_python] servlets and sessions tutorial...

Daniel J. Popowich dpopowich at mtrsd.k12.ma.us
Thu Jun 24 10:41:24 EDT 2004

> >>>     I have install mod_python and servlets to begin building some web
> >>> python aplications.
> >>>
> >>>     I try read servlets tutorial but when i go to sessions tutorial
> >>> (page 13) have some errors and the browser dont stop loading...
> >>>
> >>>     You can see tutorial working at
> >>> http://sharky.homelinux.net/mps_tutorial/
> >>>     You can see sutorial sessions error at
> >>> http://sharky.homelinux.net/mps_tutorial/sessions

The session support in servlets is built directly on top of standard
mod_python sessions.  I've seen sessions hang like this for a number
of reasons.  Some times it's apache, which you say you've restarted.

I'm wondering if you have a corrupted dbm file.  Look in /tmp for a
file named mp_sess.dbm.  Remove it and see if that cleans things up
for you.


More information about the Mod_python mailing list