1Apache::Session::Store:U:sFeirleC(o3n)tributed Perl DocuAmpeancthaet:i:oSnession::Store::File(3)
2
3
4
6 Apache::Session::Store::File - Store persistent data on the filesystem
7
9 use Apache::Session::Store::File;
10
11 my $store = Apache::Session::Store::File->new;
12
13 $store->insert($ref);
14 $store->update($ref);
15 $store->materialize($ref);
16 $store->remove($ref);
17
19 This module fulfills the storage interface of Apache::Session. The
20 serialized objects are stored in files on your filesystem.
21
23 This module requires one argument in the usual Apache::Session style.
24 The name of the option is Directory, and the value is the full path of
25 the directory where you wish to place the files. Example
26
27 tie %s, 'Apache::Session::File', undef,
28 {Directory => '/tmp/sessions'};
29
31 All session objects are stored in the same directory. Some
32 filesystems, such as Linux's ext2fs, have O(n) performance where n is
33 the number of files in a directory. Other filesystems, like Sun's UFS,
34 and Linux's reiserfs, do not have this problem. You should consider
35 your filesystem's performance before using this module to store many
36 objects.
37
39 This module was written by Jeffrey William Baker <jwbaker@acm.org>.
40
42 Apache::Session
43
44
45
46perl v5.34.0 2021-07-22 Apache::Session::Store::File(3)