root/trunk/system/config/cookie.php

Revision 3326, 0.8 kB (checked in by Shadowhand, 2 months ago)

Core cleanup:

  • Removed SYSPATH check from all files
  • Changed copyrights to 2007-2008 where they had not been updated
  • Started to add @example doc comments
  • Property svn:eol-style set to LF
  • Property copyright set to Copyright (c) 2007 Kohana Team
  • Property svn:keywords set to Id
Line 
1<?php
2/**
3 * @package  Core
4 *
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'] = '';
10
11/**
12 * Restrict cookies to a specific path, typically the installation directory.
13 */
14$config['path'] = '/';
15
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.
19 */
20$config['expire'] = 0;
21
22/**
23 * Enable this option to only allow the cookie to be read when using the a
24 * secure protocol.
25 */
26$config['secure'] = FALSE;
27
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.
31 */
32$config['httponly'] = FALSE;
Note: See TracBrowser for help on using the browser.