Welcome Guest, Not a member yet? Register   Sign In
Session overwriting Session of another system
#1

[eluser]soprabaixar1[/eluser]
I have two systems I use CodeIgniter, but when I log into one it overwrites the data in the other session.

I thought it could be config "sess_cookie_name", then changed one of them and did the test again, but it still fails.


Code:
$this->session->sess_destroy();

$data = array(
    'sess_cookie_name'      => 'session_system_1',
    'id_user'               => $query->id_user,
    'email'                 => $query->email,
    'name'                  => $query->name,
    'group'                 => $query->group,
    'logged_in'             => TRUE
   );

$this->session->set_userdata($data);


Messages In This Thread
Session overwriting Session of another system - by El Forum - 04-13-2012, 06:12 AM
Session overwriting Session of another system - by El Forum - 04-13-2012, 06:25 AM
Session overwriting Session of another system - by El Forum - 04-13-2012, 06:53 AM
Session overwriting Session of another system - by El Forum - 04-13-2012, 07:40 AM
Session overwriting Session of another system - by El Forum - 04-13-2012, 01:28 PM
Session overwriting Session of another system - by El Forum - 04-13-2012, 01:34 PM
Session overwriting Session of another system - by El Forum - 04-13-2012, 02:54 PM
Session overwriting Session of another system - by El Forum - 04-13-2012, 03:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB