• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI Session Unexpected Behavior on Production

#8
[eluser]InsiteFX[/eluser]
Also make sure that you have the correct ci_session table.

Code:
-- ------------------------------------------------------------------------

--
-- Table structure for CodeIgniter ci_sessions.
--
DROP TABLE IF EXISTS `ci_sessions`;

CREATE TABLE IF NOT EXISTS  `ci_sessions` (
  `session_id`    varchar(40)           DEFAULT '0' NOT NULL,
  `ip_address`    varchar(16)           DEFAULT '0' NOT NULL,
  `user_agent`    varchar(120)                      NOT NULL,
  `last_activity` int(10)      unsigned DEFAULT 0   NOT NULL,
  `user_data`     text,
  PRIMARY KEY (`session_id`),
  KEY `last_activity_idx` (`last_activity`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;

-- ------------------------------------------------------------------------
--  `user_data` text,       COMMENT - maximum length of 65535 characters.
--  `user_data` mediumtext, COMMENT - maximum length of 16777215 characters.
--  `user_data` longtext,   COMMENT - maximum length of 4294967295 characters.
-- ------------------------------------------------------------------------



Messages In This Thread
CI Session Unexpected Behavior on Production - by El Forum - 01-18-2012, 10:31 PM
CI Session Unexpected Behavior on Production - by El Forum - 01-19-2012, 12:07 AM
CI Session Unexpected Behavior on Production - by El Forum - 01-19-2012, 09:19 AM
CI Session Unexpected Behavior on Production - by El Forum - 01-19-2012, 01:22 PM
CI Session Unexpected Behavior on Production - by El Forum - 01-19-2012, 02:45 PM
CI Session Unexpected Behavior on Production - by El Forum - 01-19-2012, 03:25 PM
CI Session Unexpected Behavior on Production - by El Forum - 01-19-2012, 04:07 PM
CI Session Unexpected Behavior on Production - by El Forum - 01-19-2012, 07:00 PM
CI Session Unexpected Behavior on Production - by El Forum - 01-19-2012, 09:23 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.