Displaying 1 result from an estimated 1 matches for "js_cookie".
Did you mean:
_cookie
2007 Feb 05
2
adding a cookie
...ookie:
<script language="JavaScript"> {text "\n" " \n" " \n" " document.cookie
= ''vhp_js=v995105608h85339294p;path=/;domain=.venere.com;expire=0'';
[...]
can you give me an hint on how to add a cookie to the cookie jar?
I tried
js_cookie =
WWW::Mechanize::Cookie.new(''/'',"vhp_js=v1847355112h431970412p;path=/;domain=.venere.com;expire=0")
so that I can do
agent.cookie_jar.add('''',js_cookie)
but this is not parsing the cookie in the way I expect it
thanks
Claudio