passing values from one form to another

eight02645999 at yahoo.com eight02645999 at yahoo.com
Sat Nov 12 04:48:08 EST 2005


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....

thanks..




More information about the Python-list mailing list