Welcome Guest, Not a member yet? Register   Sign In
[Solved] Session issue : Can't keep it persistent
#7

I have a problem like this.

Everytime when i refresh the page, it creates a new session. What should i do?

$config['sess_driver'] = 'database';
$config['sess_cookie_name'] = 'pbsession';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = 'pbsession';
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = TRUE;

----

$config['cookie_prefix'] = '';
$config['cookie_domain'] = '';
$config['cookie_path'] = '/';
$config['cookie_secure'] = FALSE;
$config['cookie_httponly'] = FALSE;

I use PHP 7.1.2, IIS 7 and Codeigniter 3.1 on Windows Server 2008 R2.
Reply


Messages In This Thread
RE: [Solved] Session issue : Can't keep it persistent - by derena - 03-15-2017, 12:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB