Welcome Guest, Not a member yet? Register   Sign In
Managing Session
#1

Hello Igniters,
I'm having issues with the session on my website. Below are the current config values for my session., but still my session expires even my browser wasn't closed.
public $sessionDriver = 'CodeIgniter\Session\Handlers\FileHandler';
public $sessionCookieName = 'ci_session';
public $sessionExpiration = 0;
public $sessionSavePath = WRITEPATH . 'session';
public $sessionMatchIP = false;
public $sessionTimeToUpdate = 0;
public $sessionRegenerateDestroy = false;


Hope you can give any solution to solve this issue.
Thank you!
Reply
#2

what version of CodeIgniter are you using, because CI 4.4.2 there are changes to the session config.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

See https://codeigniter4.github.io/CodeIgnit...ession-php
Reply




Theme © iAndrew 2016 - Forum software by © MyBB