[twill] authentication problem
James Cameron
james.cameron at hp.com
Thu Apr 16 16:59:24 PDT 2009
On Thu, Apr 16, 2009 at 04:46:12PM -0700, Tennis Smith wrote:
> I have a legit id/pswd on the system, but can't figure out how to pass
> them via twill.
> Anyone have any ideas?
How do you normally present the username and password?
If it is via a pop-up authentication dialog box, then the usual methods
such as twill-sh's add_auth should work.
If if is via a username and password prompt on a web page, then you have
to direct twill to fill in the form. You will either receive a cookie,
or a session ID in a redirection.
Everybody does it differently.
--
James Cameron
http://ftp.hp.com.au/sigs/jc/
More information about the twill
mailing list