1Session::Store::File(3)User Contributed Perl DocumentatioSnession::Store::File(3)
2
3
4

NAME

6       Apache::Session::Store::File - Store persistent data on the filesystem
7

SYNOPSIS

9        use Apache::Session::Store::File;
10
11        my $store = new Apache::Session::Store::File;
12
13        $store->insert($ref);
14        $store->update($ref);
15        $store->materialize($ref);
16        $store->remove($ref);
17

DESCRIPTION

19       This module fulfills the storage interface of Apache::Session.  The
20       serialized objects are stored in files on your filesystem.
21

OPTIONS

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

NOTES

31       All session objects are stored in the same directory.  Some filesys‐
32       tems, such as Linux's ext2fs, have O(n) performance where n is the num‐
33       ber of files in a directory.  Other filesystems, like Sun's UFS, and
34       Linux's reiserfs, do not have this problem.  You should consider your
35       filesystem's performance before using this module to store many
36       objects.
37

AUTHOR

39       This module was written by Jeffrey William Baker <jwbaker@acm.org>.
40

SEE ALSO

42       Apache::Session
43
44
45
46perl v5.8.8                       2004-02-24           Session::Store::File(3)
Impressum