3 package Catalyst::Plugin::Session::State;
16 Catalyst::Plugin::Session::State - Base class for session state
21 package Catalyst::Plugin::Session::State::MyBackend;
22 use base qw/Catalyst::Plugin::Session::State/;
26 This class doesn't actually provide any functionality, but when the
27 C<Catalyst::Plugin::Session> module sets up it will check to see that
28 C<< YourApp->isa("Catalyst::Plugin::Session::State") >>.
30 When you write a session state plugin you should subclass this module this
33 =head1 WRITING STATE PLUGINS
35 To write a session state plugin you usually need to extend C<finalize> and
36 C<prepare> (or e.g. C<prepare_action>) to do two things:
42 Set C<sessionid> (accessor) at B<prepare> time using data in the request
46 Modify the response at B<finalize> to include the session ID if C<sessionid> is