Rechercher une page de manuel
Maypole::Session.3pm
Langue: en
Version: 2005-11-23 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
NAME
Maypole::Session - Session related functionality for maypoleSYNOPSIS
use Maypole::Session;my $uid = Maypole::Session::generate_unique_id()
DESCRIPTION
This class provides session related methods for Maypole such as unique id's for requests.Currently it provides only the generate_unique_id() function, by checking the id's generated by this function and included in submitted forms, it is possible to see if a form has been submitted before.. implementing these checks is left to the developer of that application.
Further functionality is to be added here in later versions to provide easy access to sessions, either through plugins or builtin methods.
FUNCTIONS
generate_unique_id()
my $uid = Maypole::Session::generate_unique_id()generates a unique id and returns it, requires no arguments but accepts size, default is 32.
TODO
Currently implementing uniqueness tests of form submissions is left to the Maypole user, we plan to provide an optional default behaviour to automate this if required.SEE ALSO
MaypoleMAINTAINER
Aaron Trevena, c<teejay@droogs.org>AUTHOR
Simon Cozens, "simon@cpan.org"LICENSE
You may distribute this code under the same terms as Perl itself.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre