1HTTP::Cookies::MicrosofUts(e3r)Contributed Perl DocumentHaTtTiPo:n:Cookies::Microsoft(3)
2
3
4
6 HTTP::Cookies::Microsoft - Access to Microsoft cookies files
7
9 version 6.10
10
12 use LWP;
13 use HTTP::Cookies::Microsoft;
14 use Win32::TieRegistry(Delimiter => "/");
15 my $cookies_dir = $Registry->
16 {"CUser/Software/Microsoft/Windows/CurrentVersion/Explorer/Shell Folders/Cookies"};
17
18 $cookie_jar = HTTP::Cookies::Microsoft->new(
19 file => "$cookies_dir\\index.dat",
20 'delayload' => 1,
21 );
22 my $browser = LWP::UserAgent->new;
23 $browser->cookie_jar( $cookie_jar );
24
26 This is a subclass of "HTTP::Cookies" which loads Microsoft Internet
27 Explorer 5.x and 6.x for Windows (MSIE) cookie files.
28
29 See the documentation for HTTP::Cookies.
30
32 The following methods are provided:
33
34 $cookie_jar = HTTP::Cookies::Microsoft->new;
35 The constructor takes hash style parameters. In addition to the
36 regular HTTP::Cookies parameters, HTTP::Cookies::Microsoft
37 recognizes the following:
38
39 delayload: delay loading of cookie data until a request
40 is actually made. This results in faster
41 runtime unless you use most of the cookies
42 since only the domain's cookie data
43 is loaded on demand.
44
46 Please note that the code DOESN'T support saving to the MSIE cookie
47 file format.
48
50 Johnny Lee <typo_pl@hotmail.com>
51
53 Copyright 2002 Johnny Lee
54
55 This library is free software; you can redistribute it and/or modify it
56 under the same terms as Perl itself.
57
59 Gisle Aas <gisle@activestate.com>
60
62 This software is copyright (c) 2002 by Gisle Aas.
63
64 This is free software; you can redistribute it and/or modify it under
65 the same terms as the Perl 5 programming language system itself.
66
67
68
69perl v5.38.0 2023-07-20 HTTP::Cookies::Microsoft(3)