CGI-Builder-Session
view release on metacpan or search on metacpan
lib/CGI/Builder/Session.pm view on Meta::CPAN
use CGI::Builder
qw| CGI::Builder::Session
...
|;
=head1 DESCRIPTION
B<Note>: You should know L<CGI::Builder>.
This module transparently integrates C<CGI::Builder> and C<CGI::Session> in a very handy and flexible framework that can save you some coding. It provides you a mostly automatic and ready to use CGI::Session object (C<cs> property) useful to maintain...
=head2 How it works
This extension creates a CGI::Session object automatically, using the old session id if it is found as a cookie or as a query param. If no session id is found, it creates a new session and automatically adds a session id cookie and a session id param...
In simple cases you can avoid to init, update and flush the session: just use it and it will work as expected; if you need more customization you can override every single argument, property or even method.
B<Note>: When you include in your CBB the L<CGI::Builde::Magic|CGI::Builde::Magic> extension, you will have magically available a label that will be substituted with the current session id.
=head1 PROPERTY and GROUP ACCESSORS
( run in 0.242 second using v1.01-cache-2.11-cpan-a1d94b6210f )