I'm having a problem writing to session variables in my controllers,
and I believe it's related to the fact that I use jquery ajax calls
exclusively. The session variable is stored for that request, but is
gone for the very next one. No matter what method I use (php, cake, or
database), the information is never stored in that medium, even
momentarily. An error that is always present when I do $this->Session-
>error() is "Config doesn't exist".
I'm not sure how to troubleshoot this. I've tried various config
settings such as setting the security low and checkuseragent to false
but the result is the same.
The /tmp directory and all sub-directories have permissions of 777, so
file permission should not be a problem.
Here are my config variables (if needed):
Configure::write('Session.save', 'cake');
Configure::write('Session.cookie', 'CAKEPHP');
Configure::write('Session.timeout', '120');
Configure::write('Session.start', true);
Configure::write('Session.checkAgent', false);
Configure::write('Security.level', 'low');
Any hints on where to start looking to troubleshoot would be most
appreciated!
Will
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en