1 <?php
defined('SYSPATH') OR die('No direct access allowed.');
7 $config['driver'] = 'native';
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'] = 'ninjasession';
21 * Session parameters to validate: user_agent, ip_address, expiration.
23 $config['validate'] = array('ip_address');
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'] = 0;
39 * Percentage probability that the gc (garbage collection) routine is started.
41 $config['gc_probability'] = 2;