Easy web session module with Python?

Thomas Guettler guettli at thomas-guettler.de
Thu Oct 14 08:37:24 CEST 2004


Am Thu, 14 Oct 2004 13:50:09 +1000 schrieb Johnathan Doe:

> Hi,  I'm looking for an easy way to do web development with Python 
> (session handling a-la ASP/JSP/PHP, that kind of thing).  I've looked at 
> PythonWeb.org but it has bugs because it's not tested on UNIX platforms 
> it seems (I've created some patches and sent them to the author), and a 
> quick browse through PyPI in the mature/stable packages doesn't reveal 
> much hope, unless I've missed something.  I've googled for session 
> handling with Python, and it seems something called "pso" would be ok, 
> but that is only mod_python as far as I know, and I may need something 
> that works with cgi only hosts.

Hi,

You can use quixote. Use SessionPublisher. You need
a mapping to store the data. A very simple but useable mapping
is DirMapping which is in session_demo.cgi.

This should work with every webserver, even with CGIHTTPServer from the
standard library.

HTH,
 Thomas




More information about the Python-list mailing list