Re: Duplicating COOKIES in WODHTTP - WeOnlyDo Discussion board

Re: Duplicating COOKIES in WODHTTP (General questions)

by wodDamir, Wednesday, October 12, 2011, 23:29 (4577 days ago) @ joshu

Joshu,

I'm not really sure what to show exactly. Remove method accepts cookie index, and removes it from the collection. You can simply iterate through your Cookies collection, and in case there is double remove it using Remove method.

The other way would be to set Cookie value instead of removing/adding a new cookie in collection. You can do that simply by setting it's Value property (http://www.weonlydo.com/HttpDLX/Help/wodHttpDLX-HttpCookie-Value.html).

Can you please try that?

Regards,
Damba


Complete thread: