CREATE TABLE IF NOT EXISTS `ci_sessions` ( `id` varchar(40) NOT NULL, `ip_address` varchar(45) NOT NULL, `timestamp` int(10) unsigned DEFAULT 0 NOT NULL, `data` blob NOT NULL, PRIMARY KEY (id), KEY `ci_sessions_timestamp` (`timestamp`));
設定 application/config/config.php
$config['sess_driver'] = 'database';$config['sess_save_path'] = 'ci_sessions';
0 意見:
張貼留言