• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
session in DB not working

#1
With each use
Code:
session () -> Start ();

All records are updated in the database although the session id is only one answer
Each time, the user's data is also deleted, although the session length is set to 7200 by default...
I changed
Code:
$sessionDriver = 'CodeIgniter \ Session \ Handlers \ DatabaseHandler';

on

Code:
$sessionDriver = 'CodeIgniter \ Session \ Handlers \ FileHandler';

and

Code:
$sessionSavePath = 'ci_sessions';

on

Code:
$sessionSavePath = '../writable/ses';

And everything works so it looks like the problem is with the sessions stored in the database.
I reported this as a bug on the github repository


Attached Files Thumbnail(s)
       
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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