You should point out what you want to read. Code should be:
On Sunday, December 21, 2014 8:40:31 PM UTC+2, Sekou Dioubate wrote:
-- - $this->Session->write('test','
testval' ); - debug($this->Session->read(
'test'
));
On Sunday, December 21, 2014 8:40:31 PM UTC+2, Sekou Dioubate wrote:
when looking around I realized that this is the session component which not.proof, the following code does not work:
$this->Session->write('test','testval' ); debug($this->Session->read());
but with this php code next working well:
$_SESSION['test']='testval'; debug($_SESSION);
So I think that the problem comes from the session setup in app / config / core.php
'defaults' => 'php' ));I do not know how to set up for the adopted my serverg tried every possible case :
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 problemthank 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 cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment