Content-type: text/html Man page of HTTP::Cookies::Netscape

HTTP::Cookies::Netscape

Section: User Contributed Perl Documentation (3pm)
Updated: 2009-06-15
Index Return to Main Contents
 

NAME

HTTP::Cookies::Netscape - access to Netscape cookies files  

SYNOPSIS

 use LWP;
 use HTTP::Cookies::Netscape;
 $cookie_jar = HTTP::Cookies::Netscape->new(
   file => "c:/program files/netscape/users/ZombieCharity/cookies.txt",
 );
 my $browser = LWP::UserAgent->new;
 $browser->cookie_jar( $cookie_jar );

 

DESCRIPTION

This is a subclass of "HTTP::Cookies" that reads (and optionally writes) Netscape/Mozilla cookie files.

See the documentation for HTTP::Cookies.  

CAVEATS

Please note that the Netscape/Mozilla cookie file format can't store all the information available in the Set-Cookie2 headers, so you will probably lose some information if you save in this format.

At time of writing, this module seems to work fine with Mozilla Phoenix/Firebird.  

SEE ALSO

HTTP::Cookies::Microsoft  

COPYRIGHT

Copyright 2002-2003 Gisle Aas

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


 

Index

NAME
SYNOPSIS
DESCRIPTION
CAVEATS
SEE ALSO
COPYRIGHT

This document was created by man2html, using the manual pages.
Time: 04:14:15 GMT, September 24, 2010