From: Yuri U. <yur...@gm...> - 2004-10-10 20:07:57
|
Thanks, I've found what it was... The php server (4.3.6) dropped cookies if they were not in single line. I've modified HttpWebConnection to set HttpClient's single cookie mode and it worked. Regards, Yuri On Sat, 09 Oct 2004 21:07:29 -0400, Mike Bowler <mb...@ga...> wrote: > Yuri Ushakov wrote: > > Why could htmlunit (or httpclient?) behave so? Is there a way to look > > into cookies somehow? I'd grealy appreciate any help... > > The cookie support is all handled by commons-httpclient and it works > fine for all the sites that I test. How is authentication working? Is > it form based, basic or digest? (or something else entirely?) > > When I'm debugging problems like this, I usually use a sniffer to look > at the exact traffic going back and forth. I use the open source > sniffer Ethereal which is available for a whole slew of platforms - > http://www.ethereal.com/ |