I met a very odd problem, I create a new controller which request user
session to access. the session name is called "User".
When I have ?> at the end of the controller file, I can't read session
data, $this->Session->read('User') is empty,
But when I delete the trail signs ?> in the controller file, the
session can be read successfully.
I am wondering what's the root cause of this problem?
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment