|
我在代码中这样使用session有问题吗?代码如下:
$this->load->library('session');
$userinfo = array('username'=>$result->username,
'logged_in'=>true
);
$this->session->set_userdata($userinfo);
错误代码如下
Error Number: 1146
Table 'yibell.yi_lcn_sessions' doesn't exist
INSERT INTO `yi_lcn_sessions` (`session_id`, `ip_address`, `user_agent`, `last_activity`, `user_data`) VALUES ('ab6b46fc5917d92b64ea0184212cb44f', '127.0.0.1', 'Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0', 1342431752, '')
Filename: D:\wamp\www\yibell\system\database\DB_driver.php
Line Number: 330
在线等,求解,谢谢!
|
|