Welcome Guest, Not a member yet? Register   Sign In
Can't login with Freakauth
#3

[eluser]flokky[/eluser]
Michael: thanks for the reply. I've updated my first post with the 'redirect' code. Actually I think I'm doing it like you've said in your post.

As I have dug deeper in the code, I loose track in function set_userdata($key, $value) in the DB_session file.

Code:
function set_flashdata($key, $value){
        $flash_key = $this->flash_key.':new:'.$key; //I can echo the $flash_key correctly here
        $this->set_userdata($flash_key, $value);
}

function set_userdata($newdata = array(), $newval = ''){
        // I cannot echo anything here. Here I loose track what is going on
    if (is_string($newdata))
    {
        $newdata = array($newdata => $newval);
    }    

    if (count($newdata) > 0)
    {
        foreach ($newdata as $key => $val)
        {
            $this->userdata[$key] = $val;
        }
    }
    
        $this->sess_update();
}


Messages In This Thread
Can't login with Freakauth - by El Forum - 02-28-2008, 11:00 AM
Can't login with Freakauth - by El Forum - 02-28-2008, 12:44 PM
Can't login with Freakauth - by El Forum - 02-28-2008, 01:30 PM
Can't login with Freakauth - by El Forum - 03-01-2008, 04:00 AM
Can't login with Freakauth - by El Forum - 06-24-2008, 08:48 PM
Can't login with Freakauth - by El Forum - 08-29-2008, 05:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB