setCookieValue

setCookieValue ( string cookieSetValue , string _url , boolean _reuseOldCookies ) : void

Set directly the value of the cookie. You can get it with the Network tools of your navigator in the header Cookie of a request.

See also

setCookieBody
setCookie

Parameters

cookieSetValue

A set of cookies as used in the Cookie header of a request.
Example: i18n-prefs=EUR; session-id-time=2082787201l; ubid-acbfr=261-4410591-4903948;

_url (optional)

An url to find the good cookie, by host. It is important to enter a real URL with http:// and not just the host. Ex: https://www.idia-tech.com.

_reuseOldCookies (optional)

Default:true. Allows you to resume the previously existing set of cookies. If you specify false, the crawler will start from a blank cookie set and use the given cookies to build the new cookie set from scratch.