Click here to get back home

Storing multiple cookies

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Storing multiple cookies vermeer1912 06-09-2007
Posted by vermeer1912 on June 9, 2007, 11:58 am
Please log in for more thread options


I use HTTP::Cookies in a request to a website:

$request = HTTP::Request->new('GET',$url1);
$request ->header( 'Referer' => $referer1);
$result = $agent->request($request);
$response = $agent->request($request);


if ($response->is_success)
{
$cookie_jar = new HTTP::Cookies::Mozilla(ignore_discard =>
True);
$cookie_jar->extract_cookies($response);
$cookie_jar->save("$DIR/cookie_jar");
}

When i make the request with a webbrowser I can see that the website
gives two values in the cookie :
Cookie: value1=321321; value2=AGJDKODJKNEJJKLA9098

When I look in my cookie_jar I can only see 'value1', value2 is
missing.
Does anyone know how I can use both values?

Thanx,

Hans


Similar ThreadsPosted
DBI problem -- storing large value into an INT8 field January 4, 2007, 10:28 am
can't retrieve all cookies with cgi.pm December 18, 2004, 11:16 pm
HTML-Parser: storing into a DB words with special chars September 21, 2005, 2:40 am
CGI & LWP::UserAgent - forwarding cookies - how? January 15, 2007, 3:25 pm
Coding question wrt Cookies Module February 16, 2005, 12:56 am
WWW::Mechanize module: multiple Select. July 13, 2004, 7:36 pm
multiple packages (modules) in the same file May 2, 2005, 3:53 pm
how to install multiple modules with one Makefile.PL July 2, 2008, 11:56 am
HTML::Form, Multiple select Elements with Same name July 30, 2004, 3:48 pm
Win32::Daemon - multiple processor problem August 10, 2004, 6:03 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap