mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-23 20:44:06 +08:00
Little helpful description for Session::cookieParam
This commit is contained in:
@ -82,6 +82,7 @@ class Session extends Component implements \IteratorAggregate, \ArrayAccess, \Co
|
|||||||
public $flashVar = '__flash';
|
public $flashVar = '__flash';
|
||||||
/**
|
/**
|
||||||
* @var array parameter-value pairs to override default session cookie parameters that are used for session_set_cookie_params() function
|
* @var array parameter-value pairs to override default session cookie parameters that are used for session_set_cookie_params() function
|
||||||
|
* Array may have the following possible keys: 'lifetime', 'path', 'domain', 'secure', 'httpOnly'
|
||||||
* @see http://www.php.net/manual/en/function.session-set-cookie-params.php
|
* @see http://www.php.net/manual/en/function.session-set-cookie-params.php
|
||||||
*/
|
*/
|
||||||
private $_cookieParams = ['httpOnly' => true];
|
private $_cookieParams = ['httpOnly' => true];
|
||||||
|
Reference in New Issue
Block a user