Welcome Guest, Not a member yet? Register   Sign In
Session database not working, using cookies does
#2

[eluser]TheFuzzy0ne[/eluser]
Have you extended the session class at all?

Please post your database schema.

Here's mine:

Code:
CREATE TABLE `ci_sessions` (
  `session_id` varchar(40) collate utf8_unicode_ci NOT NULL default '0',
  `ip_address` varchar(16) collate utf8_unicode_ci NOT NULL default '0',
  `user_agent` varchar(50) collate utf8_unicode_ci NOT NULL,
  `last_activity` int(10) unsigned NOT NULL default '0',
  `user_data` text collate utf8_unicode_ci NOT NULL,
  PRIMARY KEY  (`session_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

Does yours differ in any way? There is no default set for the userdata, but mine seems to work without that. Which database and storage engine are you running?


Messages In This Thread
Session database not working, using cookies does - by El Forum - 05-12-2009, 10:12 AM
Session database not working, using cookies does - by El Forum - 05-12-2009, 11:18 AM
Session database not working, using cookies does - by El Forum - 05-12-2009, 11:31 AM
Session database not working, using cookies does - by El Forum - 05-12-2009, 11:38 AM
Session database not working, using cookies does - by El Forum - 05-12-2009, 12:35 PM
Session database not working, using cookies does - by El Forum - 05-12-2009, 01:01 PM
Session database not working, using cookies does - by El Forum - 05-12-2009, 01:16 PM
Session database not working, using cookies does - by El Forum - 05-12-2009, 01:51 PM
Session database not working, using cookies does - by El Forum - 05-12-2009, 02:15 PM
Session database not working, using cookies does - by El Forum - 05-12-2009, 02:21 PM
Session database not working, using cookies does - by El Forum - 05-12-2009, 02:23 PM
Session database not working, using cookies does - by El Forum - 09-07-2009, 06:59 AM
Session database not working, using cookies does - by El Forum - 09-07-2009, 12:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB