[ZPT] Python scripts and variables

Clemens Robbenhaar robbenhaar at espresto.com
Fri Jan 16 16:09:04 EST 2004


Hi Joe,
 
 > I'm trying to use the login from zope and the cookie crumbler.  I'm getting
 > my Username and Password from the form which has the name variables
 > "__ac_name" and "__ac_password"  I'm tyring to use a python script to
 > retrieve those variables but I get 
 > 
 > 
 > Line 1: "__ac_name" is an invalid variable name because it starts with "_"
 > Line 1: "__ac_password" is an invalid variable name because it starts with
 > "_"

 Maybe try  container.REQUEST.form['__ac_name'] 

Cheers,
Clemens



More information about the ZPT mailing list