But I need to send my cookies on my first request. I HAVE my cookies on the system (i.e. the persistent cookie sitting in my IE cache), and I want to send them up on the REQUEST, otherwise the server which I am trying to talk to says "Not logged in", since it is expecting those cookies.
Cookies are handled server side and I have never heard of a client sending a cookie to the server?
When IE hits a site it has cookies for, it just offers them up. If the server wants them, and asks for them, it gets them. Otherwise a cookie based request would be multiround trips.
I've developped a work-around.
1) Hit the Login page with Post Data containing username/password
2) Take the cookie that it hands me.
3) Hit the page that I want, with the cookie that I had handed to me, and do my stuff
It means another round trip to the server but....