Welcome Guest, Not a member yet? Register   Sign In
Problems with the native session
#5

[eluser]Zorancho[/eluser]
I will do all of it with the CI Sessions.. but this is how my controller looks like
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');

class MY_Controller extends Controller
{
public function MY_Controller()
{
parent::__construct();
}

public function destroy_sess()
{
$this->session->sess_destroy();
unset($_SESSION['userid']);
unset($_SESSION['logged_in']);
unset($_SESSION['role']);
redirect('servis/');
}
}


Messages In This Thread
Problems with the native session - by El Forum - 05-20-2009, 05:15 AM
Problems with the native session - by El Forum - 05-20-2009, 05:19 AM
Problems with the native session - by El Forum - 05-20-2009, 05:38 AM
Problems with the native session - by El Forum - 05-20-2009, 05:47 AM
Problems with the native session - by El Forum - 05-20-2009, 05:49 AM
Problems with the native session - by El Forum - 05-20-2009, 06:50 AM
Problems with the native session - by El Forum - 05-20-2009, 10:01 AM
Problems with the native session - by El Forum - 05-20-2009, 01:32 PM
Problems with the native session - by El Forum - 05-20-2009, 03:18 PM
Problems with the native session - by El Forum - 05-20-2009, 08:40 PM
Problems with the native session - by El Forum - 05-20-2009, 08:42 PM
Problems with the native session - by El Forum - 05-21-2009, 02:04 AM
Problems with the native session - by El Forum - 05-22-2009, 09:46 PM
Problems with the native session - by El Forum - 05-23-2009, 04:58 AM
Problems with the native session - by El Forum - 05-23-2009, 04:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB