1Maypole::Session(3)   User Contributed Perl Documentation  Maypole::Session(3)
2
3
4

NAME

6       Maypole::Session - Session related functionality for maypole
7

SYNOPSIS

9       use Maypole::Session;
10
11       my $uid = Maypole::Session::generate_unique_id()
12

DESCRIPTION

14       This class provides session related methods for Maypole such as unique
15       id's for requests.
16
17       Currently it provides only the generate_unique_id() function, by check‐
18       ing the id's generated by this function and included in submitted
19       forms, it is possible to see if a form has been submitted before..
20       implementing these checks is left to the developer of that application.
21
22       Further functionality is to be added here in later versions to provide
23       easy access to sessions, either through plugins or builtin methods.
24

FUNCTIONS

26       generate_unique_id()
27
28       my $uid = Maypole::Session::generate_unique_id()
29
30       generates a unique id and returns it, requires no arguments but accepts
31       size, default is 32.
32

TODO

34       Currently implementing uniqueness tests of form submissions is left to
35       the Maypole user, we plan to provide an optional default behaviour to
36       automate this if required.
37

SEE ALSO

39       Maypole
40

MAINTAINER

42       Aaron Trevena, c<teejay@droogs.org>
43

AUTHOR

45       Simon Cozens, "simon@cpan.org"
46

LICENSE

48       You may distribute this code under the same terms as Perl itself.
49
50
51
52perl v5.8.8                       2005-11-23               Maypole::Session(3)
Impressum