NAME
Egg::Plugin::SessionKit::Base::FileCache - Cache::FileCache for Session.
SYNOPSIS
use Egg qw/ SessionKit /;
__PACKAGE__->egg_startup(
.......
...
plugin_session => {
key_name => 'ss',
component=> [
[ 'Base::FileCache' => {
cache_root => '/path/to/cache',
namespace => 'sessions',
cache_depth => 3,
default_expires_in => (60* 60),
} ],
qw/ Bind::Cookie Store::Plain /,
],
},
);
DESCRIPTION
The session by Cache::FileCache is supported.
CONFIGRATION
The setting becomes an option to pass everything to Cache::FileCache.
Please refer to the document of Cache::FileCache.
METHODS
startup
The setting is checked.
restore ( [SESSION_ID] )
The session data is acquired.
insert, update
The session data is preserved.
delete ( [SESSION_ID] )
Remove cache SESSION_ID.
SEE ALSO
Cache::FileCache, Egg::Plugin::SessionKit, Egg::Release,
AUTHOR
Masatoshi Mizuno <lushe@cpan.org>
COPYRIGHT
Copyright (C) 2007 by Bee Flag, Corp. <http://egg.bomcity.com/>, All Rights Reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.