Re: question about HttpState

2003-08-26 Thread Michael Becke
Hi Yue, Just a few additions to what Adrian posted. On Monday, August 25, 2003, at 12:27 PM, Yue Luo wrote: 2. Do HttpState.addCookies() and HttpState.getCookies() create COPIES of the cookies or work on the cookie objects directly? HttpState uses the instances of Cookie that it is given. No co

Re: question about HttpState

2003-08-25 Thread Adrian Sutton
On 26/08/2003 2:27 AM, "Yue Luo" <[EMAIL PROTECTED]> wrote: > Hi, > I want to do the following: > 1. The main thread/conneciton logins to a web site. It is a post > request like a online banking login, not HTTP authentication. The > server will return a cookie containing session id. > 2. Then t

question about HttpState

2003-08-25 Thread Yue Luo
Hi, I want to do the following: 1. The main thread/conneciton logins to a web site. It is a post request like a online banking login, not HTTP authentication. The server will return a cookie containing session id. 2. Then the main thread creates two simultaneous threads to create two connect