1 <?php
defined('SYSPATH') OR die('No direct access allowed.');
7 $config['driver'] = 'cookie';
10 * Session storage parameter, used by drivers.
12 $config['storage'] = '';
16 * It must contain only alphanumeric characters and underscores. At least one letter must be present.
18 $config['name'] = 'kohanasession';
21 * Session parameters to validate: user_agent, ip_address, expiration.
23 $config['validate'] = array('user_agent');
26 * Enable or disable session encryption.
27 * Note: this has no effect on the native session driver.
28 * Note: the cookie driver always encrypts session data. Set to TRUE for stronger encryption.
30 $config['encryption'] = FALSE;
33 * Session lifetime. Number of seconds that each session will last.
34 * A value of 0 will keep the session active until the browser is closed (with a limit of 24h).
36 $config['expiration'] = 7200;
39 * Number of page loads before the session id is regenerated.
40 * A value of 0 will disable automatic session id regeneration.
42 $config['regenerate'] = 3;
45 * Percentage probability that the gc (garbage collection) routine is started.
47 $config['gc_probability'] = 2;