Aran Clary Deltac

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 make_session_cookie, update_session_cookie, calc_expiry, calculate_session_cookie_expires, cookie_is_rejecting, delete_session_id, extend_session_id, get_session_id, and set_session_id methods are not currently supported but could be if necessary.

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

METHODS

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.