Persistent Session in CGI

Paul Rubin http
Sun Aug 27 18:07:23 EDT 2006


keegan.csmith at gmail.com writes:
> I have started a new small web project, and was wondering if there are
> any good guides on how to do Persistent Sessions and Authentication
> using python and CGI. I don't really want too use Zope, because It's
> probably overkill for my tiny project.

The simplest thing to do is put all the session info into a browser
cookie.  That limits the amount of session info but maybe you can live
with that.  You should encrypt and authenticate the cookie to prevent
the user from tampering with it.



More information about the Python-list mailing list