Writing a secure web client?

CA c at coryadams.com
Tue Jul 16 17:46:55 EDT 2002


I am trying to write a web client in python that first authenticates to
a secure url, then posts to a form using the secure session cookie.  The
problem that I am having is follows:

I can post to the secure form and get the session cookie back into a
Cookie.SmartCookie.  How do I use this cookie to subsequently post to a
form using that session id?

For example:

http://domain.com/restricted/login.cgi

Post here, get cookie

http://domain.com/restricted/stuff/dosomething.cgi

Now post to this form, or others below /restricted

Any help would be greatly appreciated.

Thanks,

CA








More information about the Python-list mailing list