July 30th, 2004, 12:29 PM
How can I use session tracking with Python. Is this something that is in the CGI module, or is it somewhere else. Any help would be greatly appreciated.
July 30th, 2004, 01:45 PM
At the moment Pythons cgi module is pretty old and cluttered with depreciated code for backward compatablity. But it works, and is proven stable again and again:
One alternative would be to use mod_python which now includes working session, cookie and PSP modules. Aswell as offering a nice speed increase over standard CGI.
You can also use the Cookie module to create simple sessions, and this works pretty well:
I am also working on an updated version of the cgi module called CGI – based on my earlier Net module: