Egg::Model::Session::ID::MD5 - MD5 is used for session ID.
package MyApp::Model::Sesion; __PACKAGE__->startup( ..... ID::MD5 );
It is a component module to use the HEX value obtained with Digest::MD5 for session ID.
'id_length' is accepted to the configuration.
__PACKAGE__->config( id_length => 32, );
It becomes 32 at the unspecification.
The value obtained by 'md5_hex' function of Digest::MD5 is returned.
The format of SESSION_ID is checked and the result is returned.
Egg::Release, Egg::Model::Session::Manager::TieHash, Digest::MD5, Time::HiRes,
Masatoshi Mizuno <lushe@cpan.org>
Copyright (C) 2008 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.
To install Egg::Plugin::SessionKit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Egg::Plugin::SessionKit
CPAN shell
perl -MCPAN -e shell install Egg::Plugin::SessionKit
For more information on module installation, please visit the detailed CPAN module installation guide.