View on
MetaCPAN
Aran Clary Deltac > Catalyst-Plugin-Starch-0.03 > Catalyst::Plugin::Starch::Cookie

Download:
Catalyst-Plugin-Starch-0.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.03   Source  

NAME ^

Catalyst::Plugin::Starch::Cookie - Track starch state in a cookie.

SYNOPSIS ^

    package MyApp;
    
    use Catalyst qw(
        Starch::Cookie
        Starch
    );

DESCRIPTION ^

This plugin utilizes the Starch::Plugin::CookieArgs plugin to add a bunch of arguments to the Starch object, search the request cookies for the session cookie, and write the session cookie at the end of the request.

See the Starch::Plugin::CookieArgs documentation for a list of arguments you can specify in the Catalyst configuration for Catalyst::Plugin::Starch.

COMPATIBILITY ^

Most of the methods documented in "METHODS" in Catalyst::Plugin::Session::Cookie are not supported at this time:

The above listed un-implemented methods and attributes will throw an exception if called.

METHODS ^

get_session_cookie

Returns the CGI::Simple::Cookie object from Catalyst::Request for the session cookie, if there is one.

AUTHOR AND LICENSE ^

See "AUTHOR" in Catalyst::Plugin::Starch and "LICENSE" in Catalyst::Plugin::Starch.

syntax highlighting: