@villlllle: I didn’t change anything in my session libraries. But I changed on my application/config.php file:
$config['sess_cookie_name'] = 'cisession';Because I read about many posts that IExplorer doesn’t like some session names (like that “ci_session”).
Thanks, I did that. No help, however. I’m testing on Firefox.
I have this in the beginning of the function called by Flash:
function upload(){
$params['session_id'] = $this->input->post('PHPSESSID');
$this->load->library('session', $params);
log_message('debug', "Params session id = ". $params['session_id']);
log_message('debug', "Current session id = ". $this->session->userdata('session_id') );
The debug log with IE is ok:
DEBUG - 2011-05-11 12:23:41—> Session class already loaded. Second attempt ignored.
DEBUG - 2011-05-11 12:23:41—> Params session id = 3564756204730be2d0ff37fd2aa61755
DEBUG - 2011-05-11 12:23:41—> Current session id = 3564756204730be2d0ff37fd2aa61755
The debug log with Firefox/Chrome/Safari indicates that the session isn’t working right:
DEBUG - 2011-05-11 12:18:02—> Session class already loaded. Second attempt ignored.
DEBUG - 2011-05-11 12:18:02—> Params session id = 414830241ac4caa4b79286444c84647e
DEBUG - 2011-05-11 12:18:02—> Current session id = 89afd2ee8fe36cfd9695390216fe743a
Any idea what’s wrong? Obviously I’d like this to work on any browser ![]()
