I'm using IIS. I can write to a session and read from it within the
same page, but when I go to a different page the session no longer
exists. Any ideas what the issue is?
in controller/index
$this->Session->write('test', 'this is a test');
$test = $this->Session->read('test');
pr($test);
// the output is this is a test
if I then go to another page
controller/next
$this->Session->write('test', 'this is a test');
$test = $this->Session->read('test');
pr($test);
// there is no output, the session is lost
in config/core.php, adjusted to these settings:
Configure::write('Session.checkAgent', false);
Configure::write('Security.level', 'low');
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---