>Chris Curvey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > thanks for all the help. I'll give the ShellExecute() approach a try > in the morning. > > The short version of what I'm trying to do is.... > > Have my website login to a 3rd party website on behalf of my customer, > fill out a form, and submit it. I'm just using CGI to keep things > simple, but overlapping requests from different customers are the > problem. The 3rd party site uses a lot of javascript, so mechanize > isn't going to work. I could use some kind of locking mechanism and > "single-thread" access to IE, but that won't scale. I guess the next > approach would be to queue the requests and have a pool of worker > processes (running as different users) process the requests and report > back.
You might have a specific reason for using COM, but if not, have you considered using the python urllib or urllib2 modules instead? It should overcome the session cookie / overlapping request issues i think. -- http://mail.python.org/mailman/listinfo/python-list