SproutCMS

This is the code documentation for the SproutCMS project

file /sprout/Helpers/Drivers/Session/Cache.php

Namespace: Sprout\Helpers\Drivers\Session

View source


Copyright (C) 2017 Karmabunny Pty Ltd.

This file is a part of SproutCMS.

SproutCMS is free software: you can redistribute it and/or modify it under the terms
of the GNU General Public License as published by the Free Software Foundation, either
version 2 of the License, or (at your option) any later version.

For more information, visit <http://getsproutcms.com>.

This class was originally from Kohana 2.3.4
Copyright 2007-2008 Kohana Team

Classes

Cache

Session cache driver.

Cache library config goes in the session.storage config entry:
$config['storage'] = array(
    'driver' => 'apc',
    'requests' => 10000
);
Lifetime does not need to be set as it is
overridden by the session expiration setting.