[eluser]Unknown[/eluser]
hi all,
I'm using uploadify but it breaks my current session on ie7/ie8 (everything's fine on FF, safari)
I tried to restore the session but without any success.
Does anyone already used sessions with uploadify?
I understood that flash got a known bug on windows and rewrite my cookie. I just don't know how to write a propre workaround.
I did this :
Code:
public function ControllerMethod(){
$this->session->set_userdata('session_id');
$this->session->set_userdata('loggedadmin',TRUE);
//list of uploadify's actions
}
I also tried to save and restore my cookie
Code:
public function ControllerMethod(){
$Cookie = $_POST['session'];
$this->load->model('sessionmodel');
$old = $this->sessionmodel->read($Cookie);
$this->session->sess_destroy();
/*
* list of action to recreate the cookie
*/
//list of uploadify's actions
}
A simple
Code:
public function ControllerMethod(){
$Cookie = $_POST['session'];
$this->session->set_userdata('session_id',$Cookie);
$this->session->set_userdata('loggedadmin',TRUE);
//list of uploadify's actions
}
doesn't work either.
I don't have any clue on what to do. Theses sessions issues are a bit to hard to understand for me.
Thanks in advance if anyone got an idea.