Part of the EllisLab Network
   
2 of 2
2
Session and cookie information lost when using Flash
Posted: 11 May 2011 05:32 AM   [ Ignore ]   [ # 16 ]  
Summer Student
Total Posts:  3
Joined  05-10-2011
Fatih - 11 May 2011 05:53 AM

@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 smile

Profile
 
 
Posted: 11 May 2011 05:52 AM   [ Ignore ]   [ # 17 ]  
Grad Student
Avatar
Rank
Total Posts:  73
Joined  12-12-2007

Also, I use database option for session saving. What is it on your side?

 Signature 

audentis fortuna iuvat
CodeIgniter Turkey

Profile
 
 
Posted: 11 May 2011 05:58 AM   [ Ignore ]   [ # 18 ]  
Summer Student
Total Posts:  3
Joined  05-10-2011
Fatih - 11 May 2011 09:52 AM

Also, I use database option for session saving. What is it on your side?

I turned it on, still no help on Firefox :|

Profile
 
 
Posted: 11 May 2011 06:03 AM   [ Ignore ]   [ # 19 ]  
Grad Student
Avatar
Rank
Total Posts:  73
Joined  12-12-2007

You can check and evaluate on database side that why the session can be changed. I think there is a more useful of error analysis for you.

 Signature 

audentis fortuna iuvat
CodeIgniter Turkey

Profile
 
 
   
2 of 2
2