Hello Jeremy, > I had to do this: > > Cookie[] cookies = initialState.getCookies(); > > instead of: > > Cookie[] cookies = client.getState().getCookies(); > > to get the actual cookie for each thread.
Quite right. You should also delete this part: > // How does this work? > // I need a different state for each thread, each time through. > client.setState(initialState); It doesn't work at all. > Does the last cookie get set to the default HttpState of the HttpClient > instance? If you pass a state object to the execute method, nothing is taken from or set to the default state. cheers, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
