Egg::Model::Session::ID::MD5 - MD5 is used for session ID.


Egg-Plugin-SessionKit documentation  | view source Contained in the Egg-Plugin-SessionKit distribution.

Index


NAME

Top

Egg::Model::Session::ID::MD5 - MD5 is used for session ID.

SYNOPSIS

Top

  package MyApp::Model::Sesion;

  __PACKAGE__->startup(
   .....
   ID::MD5
   );

DESCRIPTION

Top

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.

METHODS

Top

make_session_id

The value obtained by 'md5_hex' function of Digest::MD5 is returned.

valid_session_id (SESSION_ID)

The format of SESSION_ID is checked and the result is returned.

SEE ALSO

Egg::Release, Egg::Model::Session::Manager::TieHash, Digest::MD5, Time::HiRes,

AUTHOR

Top

Masatoshi Mizuno <lushe&64;cpan.org>

COPYRIGHT AND LICENSE

Top


Egg-Plugin-SessionKit documentation  | view source Contained in the Egg-Plugin-SessionKit distribution.