Welcome Guest, Not a member yet? Register   Sign In
session destroy, not destroying session?
#3

[eluser]TheFuzzy0ne[/eluser]
...Or you can extend and override the session class with something like this:

./system/application/libraries/MY_Session.php
Code:
<?php

class MY_Session extends CI_Session {
    
    function sess_destroy()
    {
        parent::sess_destroy();
        $this->userdata = array();
    }
    
}

// End of file: MY_Session.php
// Location: ./system/application/libraries/MY_Session.php
The above code is untested.


Messages In This Thread
session destroy, not destroying session? - by El Forum - 02-21-2009, 03:35 PM
session destroy, not destroying session? - by El Forum - 02-21-2009, 03:56 PM
session destroy, not destroying session? - by El Forum - 02-21-2009, 04:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB