Here is undeniable proof that the session is just not saving itself:
I set up two random names using rand(). I set ONE value using rand().
$name = rand(7, 15);
$value = rand(5, 15);
$Sname = rand(1, 15);
$_SESSION[$Sname] = $value;
$this->Session->write($name,$value);
echo "<pre>";
print_r($_SESSION);
echo "</pre>";
debug($this->Session->read());
Yields:
print_r:
Array
(
[15] => 5
)
Debugger:
Array
(
[15] => 5
)
They should both have different names for the fields, yet they share
it. my sessions just don't save themselves.. someone please help!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---