From: Brehm, R. P <rob...@of...> - 2005-01-14 19:31:13
|
Marc, Thanks for the reply. Yes, the below does work to send up a single cookie. I created a Cookie instsance then used its toString() method to get the value before invoking addRequestHeader. That is a great help. However, in my app I have to send up multiple cookies - unfortunately all cookies share the same name and therefore addRequestHeader overwrites all Cookie name-value pairs except the last. Is there another feature that might help here? Regs, Bob -----Original Message----- From: htm...@li... [mailto:htm...@li...]On Behalf Of Marc Guillemot Sent: Friday, January 14, 2005 12:43 AM To: htm...@li... Subject: Re: [Htmlunit-user] Cookie Support Have you tried WebClient.addRequestHeader? Marc. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |