setCookieBody

setCookieBody ( string url , string body , string _referer , int _frequency_refresh , string _method ) : void

Set a cookie generated by a page. It works like postBody. Useful to simulate a login procedure.

See also

setCookieValue
setCookie

Parameters

url

URL of the page, or the page of the form (ex: form for login)

body

body content

_referer (optional)

referer header. It is the origin page indicated.

_frequency_refresh (optional)

if you set 1000, this function is bypassed 999 times on 1000

_method (optional)

HTTP method (POST, GET, OPTIONS)