[eluser]Unknown[/eluser]
I'm using this for testing the session behaviour.
Code:
public function testSessionStart(){
$this->session->set_userdata('start','success');
debug($this->session->all_userdata());
debug($this->session->userdata('session_id'));
echo "<br><a href='".base_url()."login/testSessionEnd'>Klick me</a>";
}
public function testSessionEnd(){
$this->session->set_userdata('end','success');
debug($this->session->all_userdata());
debug($this->session->userdata('session_id'));
}
I call the startfunc and a new session_id is generated and saved in my db.
Next i click the link and call the endfunc. This func generates a new session_id too.
So what i have to do that the session is "transfered" correctly ?