http://au2.php.net/session_write_close
The discussion here seems to indicate a PHP problem of some kind on
some systems.
or
Some missing stuff in cake to garbage collect for all situations?
or
Well my problem seems to point elsewhere...... __start in setFlash?
I encounter the problem with 1.2 + setFlash + redirect. However my old
session data (set on previous writes) still exists.
Anything set with Session->write works also, while the rest of the
setFlash array is present also.
Just the message is missing.
$this->Session->setFlash('foobar');
$this->Session->write('foo','bar');
$this->redirect(array('controller'=>'users','action'=>'login'), null,
true);
Resulting debug of $_SESSION:
[Message] => Array
(
[flash] => Array
(
[message] =>
[layout] => default
[params] => Array
(
)
)
)
[foo] => bar
-Ben
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---