WWW::Session::Storage::File - File storage engine for WWW::Session
File backend for WWWW::Session
Version 0.12
This module is used for storring serialized WWW::Session objects
Usage :
use WWW::Session::Storage::File; my $storage = WWW::Session::Storage::File->new({path => '/tmp/sessions'}); ... $storage->save($session_id,$expires,$serialized_data); my $serialized_data = $storage->retrive($session_id);
Creates a new WWW::Session::Storage::File object
This method accepts only one argument, a hashref that must contain a key named "path" which defines the path where the sessions will be saved
Stores the given information into the file
Retrieves the informations for a session, verifies that it's not expired and returns the string containing the serialized data
Completely removes the session data for the given session id
Gligan Calin Horea, <gliganh at gmail.com>
<gliganh at gmail.com>
Please report any bugs or feature requests to bug-www-session at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Session. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-www-session at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc WWW::Session::Storage::File
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Session
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/WWW-Session
CPAN Ratings
http://cpanratings.perl.org/d/WWW-Session
Search CPAN
http://search.cpan.org/dist/WWW-Session/
Copyright 2012 Gligan Calin Horea.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install WWW::Session, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Session
CPAN shell
perl -MCPAN -e shell install WWW::Session
For more information on module installation, please visit the detailed CPAN module installation guide.