Hm. That's going to be a lot more complicated, and you're going to need to know a lot more about how the site's implemented to pull it off.
Most likely, access is being granted through forms. When you type the login and password into text entries on a web page, that information is sent back as form data, using either a GET or POST HTTP protocol. Then the web server either sends your browser some sort of cookie, or else passes an authorization token as an invisible form value on all subsequent page accesses.
So, to get this automated from a script, you're going to have to know what the various form fields are on the pages, the data format required on them, and how to properly handle the authorization token, whatever form it might take.
That's about all I know about the subject, as I've not tried serious Tcl automation of form-based HTTP sessions. The other information provided on the Wiki page might get you started, or you might ask for help on the comp.lang.tcl USENET newsgroup, to see if someone there has tried something similar to what you're attempting. (You can access Google Groups at
to read and search the comp.lang.tcl newsgroup.) - Ken Jones, President, ken@avia-training.com
Avia Training and Consulting,
866-TCL-HELP (866-825-4357) US Toll free
415-643-8692 Voice
415-643-8697 Fax