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

    Join Date
    Nov 2004
    Posts
    2
    Rep Power
    0

    session in python?


    hello everybody,

    i have a simple question:
    how can i create a simple session (without any "zope" module) with login + password access through my pages?

    thx,
    SCORPIO
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    You might want to do a quick search of this forum, also check out the Cookie modle in the standard library: http://www.python.org/doc/2.3.4/lib/module-Cookie.html
    programming language development: www.netytan.com Hula

  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2004
    Posts
    2
    Rep Power
    0
    Originally Posted by netytan
    You might want to do a quick search of this forum, also check out the Cookie modle in the standard library: http://www.python.org/doc/2.3.4/lib/module-Cookie.html
    thx for the answer,

    but i prefer to use "cgi" with "post" method, is there a simple example for me plz?

    this is my form:
    <form action=login.py method=post>
    <input type=txt name=login value="">
    <input type=submit value=ok>
    </form>

IMN logo majestic logo threadwatch logo seochat tools logo