NAME

Egg::Model::Session::ID::UUID - Data::UUID is used for session ID.

SYNOPSIS

package MyApp::Model::Sesion;

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

DESCRIPTION

It is a component module to use the HEX value obtained with Data::UUID> for session ID.

'id_length' is accepted to the configuration.

__PACKAGE__->config(
  id_length => 32,
  );

It becomes 32 at the unspecification.

METHODS

make_session_id

The value obtained by 'create_str' function of Data::UUID 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, Data::UUID,

AUTHOR

Masatoshi Mizuno <lushe@cpan.org>

COPYRIGHT AND LICENSE

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.