#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Posts
    9
    Rep Power
    0

    Exclamation Session Tracking


    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.
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    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:

    http://www.python.org/doc/2.3.4/lib/module-cgi.html

    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:

    http://www.python.org/doc/2.3.4/lib/module-Cookie.html

    I am also working on an updated version of the cgi module called CGI based on my earlier Net module:

    http://forums.devshed.com/t129666/s.html

    Have fun,

    Mark.
    programming language development: www.netytan.com Hula


IMN logo majestic logo threadwatch logo seochat tools logo