The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Prancer::Session::Store::YAML

SYNOPSIS

This module implements a session handler based on YAML files. Sessions are stored at the configured path. This backend an perfectly be used in production environments, but two things should be kept in mind: The content of the session files is in plain text, and the session files should be purged by a cron job.

To use this session handler, add this to your configuration file:

    session:
        store:
            driver: Prancer::Session::Store::YAML
            options:
                path: /tmp/prancer/sessions

OPTIONS

path

REQUIRED This indicates where sessions will be stored. If this path does not exist it will be created, if possible. This must be an absolute path and the destination must be writable by the same user that is running the application server. If this is not set your application will not start. If this is set to a path that your application cannot write to your application will not start. If this is set to a path that doesn't exist and the path can't be created your application will not start.