X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole%2FSession.pm;h=774553b5e5eefcb89bd8b192ac9251bc5c805d50;hb=ea4ae8a93a09e21354465c485471e5f10582b784;hp=cde28dcb1fd7f69cd89499c173aaf8a225ad4553;hpb=58417aa5f41b42076f991a81b403633bfcb94f39;p=maypole.git diff --git a/lib/Maypole/Session.pm b/lib/Maypole/Session.pm index cde28dc..774553b 100644 --- a/lib/Maypole/Session.pm +++ b/lib/Maypole/Session.pm @@ -12,11 +12,16 @@ my $uid = Maypole::Session::generate_unique_id() =head1 DESCRIPTION -This class provides session related methods for Maypole such as unique id's for requests. +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. +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. +Further functionality is to be added here in later versions to provide easy +access to sessions, either through plugins or builtin methods. =head1 FUNCTIONS @@ -24,7 +29,8 @@ Further functionality is to be added here in later versions to provide easy acce my $uid = Maypole::Session::generate_unique_id() -generates a unique id and returns it, requires no arguments but accepts size, default is 32. +generates a unique id and returns it, requires no arguments but accepts size, +default is 32. =cut @@ -39,12 +45,14 @@ sub generate_unique_id { } -################################################################################################### -################################################################################################### +################################################################################ +################################################################################ =head1 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. +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. =head1 SEE ALSO