when looking around I realized that this is the session component which not.

proof, the following code does not work:

   1. $this->Session->write('test','testval');
   2. debug($this->Session->read());
   

but with this php code next working well:

   1. session_start <http://www.php.net/session_start>();
   2. $_SESSION['test']='testval';
   3. echo <http://www.php.net/echo> $_SESSION['test'];
   4. debug($_SESSION);
   

So I think that the problem comes from the session setup in app / config / 
core.php

   1. Configure::write('Session', array <http://www.php.net/array>(
   2. 'defaults' => 'php'
   3. ));
   

I do not know how to set up for the adopted my server
g tried every possible case :

Configure::write('Session', array <http://www.php.net/array>(

   1. 'defaults' => 'php'
   2. ));
   
Configure::write('Session', array <http://www.php.net/array>(

   1. 'defaults' => 'cake'
   2. ));
   
Configure::write('Session', array <http://www.php.net/array>(

   1. 'defaults' => 'database'
   2. ));
   
 






Le dimanche 14 décembre 2014 07:21:31 UTC, CUCULEAC STEFAN a écrit :
>
> Hello Sekou.
>
> I'm not an expert in Cakephp but before anyone can tell you something  t 
> think  you have to check logs to see if you have errors there.
> If you have could you post them? maybe someone can advise you. 
>
> sâmbătă, 13 decembrie 2014, 21:05:14 UTC+2, Sekou Dioubate a scris:
>>
>>
>> hello,
>> I developed an application using cakephp 2.x. Everything works locally 
>> but when sent on the dedicated server online (for production), the flash 
>> session and authentication not works. I arrive I was logged. I am lost, I 
>> do not know where is the problem
>> thank you in advance!
>>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to