Hi all,
It always lost session if one page redirect to another in my application. I
find the fail reason until today. I had added some codes in my
app_controller to check if the session is valid or not. Like this,
//code
if (!$this->Session->valid()) {
   $this->Session->renew();
}
//end
And it seems the session will be invalid if I switch between two pages. And
the session will be renewed. I am not sure it is a bug or my incorrect use
of seesion->valid.


Thanks
Joshua

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to