You have to emulate the javascript code and set the same cookie.

$user_agent->cookie_jar->set_cookie( $version, $key, $val, $path, $domain, 
$port, $path_spec, $secure, $maxage, $discard, \%rest);

Reply via email to