Prancer::Session::Store::YAML
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
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.
To install Prancer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Prancer
CPAN shell
perl -MCPAN -e shell install Prancer
For more information on module installation, please visit the detailed CPAN module installation guide.