CodeIgniter Session Table SQL


/ Published in: SQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. CREATE TABLE IF NOT EXISTS `ci_sessions` (
  2. session_id VARCHAR(40) DEFAULT '0' NOT NULL,
  3. ip_address VARCHAR(16) DEFAULT '0' NOT NULL,
  4. user_agent VARCHAR(50) NOT NULL,
  5. last_activity INT(10) UNSIGNED DEFAULT 0 NOT NULL,
  6. user_data text NOT NULL,
  7. PRIMARY KEY (session_id)
  8. );

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.