Removing session data too quickly after updating to CI 4.1.3 |
Hi,
After upgrading from 4.1.1 to latest 4.1.3 it's removing session data too quickly. Also it's removing with no exact timing. Like sometime after 2-3 minutes or after 30 minutes ... weird situation. Can anyone please help where I look into?
app/Config/App.php and php.ini are two places for setting up sessions.
If you upgraded make sure that you also copied the system and app folders over. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Thanks for your suggestions.
@ikesela It's actually login session. It's set session if it doesn't exists. And I'm not getting it after certain times which I've mentioned in the post. @InsiteFX @nfaiz This is the related configs in my App.php: PHP Code: public $sessionDriver = 'CodeIgniter\Session\Handlers\DatabaseHandler';
Database session has a bug. See https://github.com/codeigniter4/CodeIgniter4/pull/4876
Now fixed in only 4.2 branch, not in v4.1.4. The bug would be fixed in the next version. |
Welcome Guest, Not a member yet? Register Sign In |