GX::Session::ID::Generator - Base class for session ID generators
None.
This module provides the GX::Session::ID::Generator class which extends the GX::Class::Object class.
new
Returns a new session generator object.
$generator = $generator_class->new;
$generator ( GX::Session::ID::Generator object )
$generator
GX::Exception
generate_id
Generates a random session ID string.
$session_id = $generator->generate_id;
$session_id ( string )
$session_id
validate_id
Returns true if the given string is a valid session ID, otherwise false.
$result = $generator->validate_id( $session_id );
$result ( bool )
$result
The following classes inherit directly from GX::Session::ID::Generator:
GX::Session::ID::Generator::MD5
GX::Session
Jörg A. Uzarek <uzarek@runlevelnull.de>
Copyright (c) 2009-2011 Jörg A. Uzarek.
This module is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3 as published by the Free Software Foundation.
To install GX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GX
CPAN shell
perl -MCPAN -e shell install GX
For more information on module installation, please visit the detailed CPAN module installation guide.