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
18       checking 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       my $uid = Maypole::Session::generate_unique_id()
28
29       generates a unique id and returns it, requires no arguments but accepts
30       size, default is 32.
31

TODO

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

SEE ALSO

38       Maypole
39

MAINTAINER

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

AUTHOR

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

LICENSE

47       You may distribute this code under the same terms as Perl itself.
48
49
50
51perl v5.30.1                      2020-01-30               Maypole::Session(3)
Impressum