[EMAIL PROTECTED] wrote: > hi > > i have 3 python cgi scripts created, one is a login page(login.py), > another is the main page(main.py) with a lot of user inputs and the > last one is a python cgi script results.py to process main.py > > In main.py, i am able to check for the value of the user and password > field, eg > > if form.has_key("user") and form["button"].value == "Login" and > form.has_key("password"): > # show all fields > > how can i also check for the user field in the results.py script? ie , > pass the value of the "user" to the python script..so that user must > always login to get to results.py....
Use a session. Or pass the values as hidden form-fields, which gets pretty tedious. Diez -- http://mail.python.org/mailman/listinfo/python-list