Avail feature updated
[ninja.git] / system / config / cookie.php
blobb6ddfe4a0fb8c364513906b63ad682e19f2e0981
1 <?php defined('SYSPATH') OR die('No direct access allowed.');
2 /**
3 * @package Core
5 * Domain, to restrict the cookie to a specific website domain. For security,
6 * you are encouraged to set this option. An empty setting allows the cookie
7 * to be read by any website domain.
8 */
9 $config['domain'] = '';
11 /**
12 * Restrict cookies to a specific path, typically the installation directory.
14 $config['path'] = '/';
16 /**
17 * Lifetime of the cookie. A setting of 0 makes the cookie active until the
18 * users browser is closed or the cookie is deleted.
20 $config['expire'] = 0;
22 /**
23 * Enable this option to only allow the cookie to be read when using the a
24 * secure protocol.
26 $config['secure'] = FALSE;
28 /**
29 * Enable this option to disable the cookie from being accessed when using a
30 * secure protocol. This option is only available in PHP 5.2 and above.
32 $config['httponly'] = FALSE;