I am having problems maintaining a session. It seems the domain
object I place into session is dropped after a single request
( similar to flash scope )...
Login Post Valid ( adds partner to session ) > Renders flash redirect
message > Shows homepage
When I am on the home page the partner is still in session ( using
firecake for debugging ). However, if I refresh the homepage partner
is dropped from session. Config values still the same.
[code]
// In login controller
$this->Session->write('partner',$partner["Partner"]);
$this->flash('You have successfully logged in.',$homepage);
[/code]
[code]
// in home controller view ( action is empty method )
<?php echo $session->read('partner.email'); ?>
[/code]
Is this something people have experienced? Also, session->read method
is not working properly for me, ( it always return a quotation mark,
when the value exists in session ). Again, I have verified it is in
session using firecake.
help
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---