From: Erskine, C. <chr...@ed...> - 2005-04-25 15:30:22
|
HtmlUnit uses commons HttpClient underneath for it's processing. I = think that there is a function within HttpClient that allows you to control = cookie processing. =20 Chris Erskine=20 =20 EDS Consulting Services=20 Colorado Springs, CO =20 =20 Phone: 719-265-5962=20 Cell: 719-640-6488=20 _____ =20 From: htm...@li... [mailto:htm...@li...] On Behalf Of Ducloux Victor Sent: Monday, April 25, 2005 8:51 AM To: htm...@li... Subject: Re: [Htmlunit-user] Cookie error =20 I everyone, I hope this time I get some help from someone. According to = the problem shown below i xould like to know how to disable cookie handling = in htmlunit ? This means that htmlUnit should act like a web browser that has refused = to accept all cookies .... If anyone can help in a way or the other ........ Thanks in advance, Ducloux Victor a =E9crit :=20 Hello, is anyone out there that can give a comment or any idea please = ??? I'm really stuck with this problem ! thanks in advance=20 Ducloux Victor a =E9crit :=20 Hi everybody, I've started to use htmlUnit, i now browse into pages and = test .... One problem is that i get this error : 21 avr. 2005 14:39:31 org.apache.commons.httpclient.HttpMethodBase processResponseHeaders ATTENTION: Invalid cookie header: "JSESSIONID=3D45720B71F325CE4449A6EF0A3A1C6CA6; Path=3D". Missing value = for path attribute this appears after i give my login information, and then the internet = site i develop (should) store this cookie! since there is an error storing = the cookie, i don't get logged and i come back to the login page. Note that this site works well (the cookie storing) with firefox & ie = so i don't think so , as ther error message tells, that there is an error in = the path atribute ! What do you think, thanks again for the help ! Victor --=20 Victor Ducloux | Stagiaire T=E9l portable :=20 c o s m o s b a y ~ v e c t i s 10, rue du Faubourg Poissonni=E8re - 75010 Paris - = www.cosmosbay-vectis.com <http://www.cosmosbay-vectis.com> =20 T=E9l g=E9n=E9ral : +33 1 53 24 67 80 - Fax : +33 1 53 24 67 89 158, rue du 4 ao=FBt 1789 - 69100 Villeurbanne - = www.cosmosbay-vectis.com <http://www.cosmosbay-vectis.com> =20 T=E9l. g=E9n=E9ral : +33 4 72 65 21 00 - Fax : +33 4 78 85 58 24=20 Chemin de Saint-Lambert, Actiburo 1, B=E2timent A - 13400 Aubagne - www.cosmosbay-vectis.com <http://www.cosmosbay-vectis.com> =20 T=E9l. g=E9n=E9ral : +33 4 91 87 81 08 - Fax : +33 4 91 87 81 09 Victor Ducloux | Stagiaire T=E9l portable : +33 6 60 41 76 03 c o s m o s b a y ~ v e c t i s Chemin de Saint-Lambert, Actiburo 1, B=E2timent A - 13400 Aubagne - www.cosmosbay-vectis.com <http://www.cosmosbay-vectis.com> =20 T=E9l. g=E9n=E9ral : +33 4 91 87 81 08 - Fax : +33 4 91 87 81 09 |