[eluser]St0neyx[/eluser]
I checked some stuff again and again and your both right, the session is to big for the db therefor data is lost.
Now the database field is mediumtext (should be enough) and the data inserted is serialized.
I miss understood the code, thought that the session still ended up in the cookie, missed this part
Code:
foreach (array('session_id','ip_address','user_agent','last_activity') as $val)
{
unset($custom_userdata[$val]);
$cookie_userdata[$val] = $this->userdata[$val];
}
After the fix of the db field and using the database through normal session method it all work fine