Welcome Guest, Not a member yet? Register   Sign In
session values get updated
#1

[eluser]yogesh_CI[/eluser]
Hi all,

I have two application when I login in both in two instances of same browser(or using different tabs of the browser) the first application where I logged in fistly whose seesion values get change with the new seesion values of the second applications where i have logged in last.

Please help me on this.

Thanks in advance.
#2

[eluser]Cro_Crx[/eluser]
In the config file change the cookie's name!

Code:
$config['sess_cookie_name'] = 'ci_session';

If they are both ci_session then you'll get the problems your having.
#3

[eluser]yogesh_CI[/eluser]
Thanks for replay

This works but after some time(2 or 5 min) session values get updated again.

Is any other setting need to be change.

These are my settings in config.php

$config['sess_cookie_name'] = 'ci_session_CI';
$config['sess_expiration'] = 7200;
$config['sess_encrypt_cookie'] = FALSE;
$config['sess_use_database'] = FALSE;
$config['sess_table_name'] = 'ci_sessions_CI';
$config['sess_match_ip'] = FALSE;
$config['sess_match_useragent'] = TRUE;
$config['sess_time_to_update'] = 300;

Thanks again.




Theme © iAndrew 2016 - Forum software by © MyBB