我尝试为空闲锁定概念设置cookie;如果空闲5分钟然后CI将重定向到锁定屏幕 - 我是否已经尝试过set_cookie,但仍然无法存储cookie
**autoload.php**
$autoload['helper'] = array('url','form','cookie');
**config.php**
$config['cookie_prefix'] = '';
$config['cookie_domain'] = 'localhost';
$config['cookie_path'] = '/';
$config['cookie_secure'] = FALSE;
$config['cookie_httponly'] = FALSE;
-------------------------------
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 300;
$config['sess_save_path'] = NULL;
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 60;
$config['sess_regenerate_destroy'] = FALSE;
-------------------------------
**user -> login method**
$this->input->set_cookie('uid','5', time()+86400,'/');
$this->input->set_cookie('type','sa', time()+86400,'/');
-------------------------------
**dashboard-> index method**
<?php print_r($this->input->cookie()); ?>