• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Session database not working, using cookies does

#9
[eluser]RJ[/eluser]
This is my config settings
Code:
$config['sess_cookie_name']        = 'fw_session';
$config['sess_expiration']        = 7200;
$config['sess_encrypt_cookie']    = TRUE;
$config['sess_use_database']    = TRUE;
$config['sess_table_name']        = 'fw_sessions';
$config['sess_match_ip']        = FALSE;
$config['sess_match_useragent']    = TRUE;
$config['sess_time_to_update']     = 300;

Same error # on new database using your setup (changed ci to fw)
Quote:Error Number: 1364

Field 'user_data' doesn't have a default value

INSERT INTO `fw_sessions` (`session_id`, `ip_address`, `user_agent`, `last_activity`) VALUES ('a6715fb2be98abdff84db8656427ca55', '173.15.201.122', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;', 1242152041)

any thoughts?


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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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