GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CATALYST::PLUGIN::SESSION::STATE (3)

.ds Aq ’

NAME

Catalyst::Plugin::Session::State - Base class for session state preservation plugins.

CONTENTS

SYNOPSIS



    package Catalyst::Plugin::Session::State::MyBackend;
    use base qw/Catalyst::Plugin::Session::State/;



DESCRIPTION

This class doesn’t actually provide any functionality, but when the Catalyst::Plugin::Session module sets up it will check to see that YourApp->isa("Catalyst::Plugin::Session::State").

When you write a session state plugin you should subclass this module this reason only.

WRITING STATE PLUGINS

To write a session state plugin you usually need to extend two methods:
prepare_(action|cookies|whatever) Set sessionid (accessor) at <B>prepareB> time using data in the request.

Note that this must happen <B>beforeB> other prepare_action instances, in order to get along with Catalyst::Plugin::Session. Overriding prepare_cookies is probably the stablest approach.

finalize Modify the response at to include the session ID if sessionid is defined, using whatever scheme you use. For example, set a cookie,
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CATALYST::PLUGIN::SESSION::STATE (3) 2015-01-26

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.