setCookieParams() public method
Sets the session cookie parameters. The cookie parameters passed to this method will be merged with the result of session_get_cookie_params(). See also http://us2.php.net/manual/en/function.session-set-cookie-params.php.
public void setCookieParams ( array $value )$value array
Cookie parameters, valid keys include: lifetime, path, domain, secure and httponly. throws yii\base\InvalidParamException
if the parameters are incomplete.