Hi You can you check to see if the session is valid $this-session- >valid() (i think) if the session is has timed out, it will be invalid.
Penfold On 2 Jun, 06:55, uk_maul <[EMAIL PROTECTED]> wrote: > Hi > > I see that my Cake session security default is set to MEDIUM - which > logs out a user after 20 minutes of inactivity. I want to display an > error message to the user saying that "You have been logged out due to > session timeout, please login again". Please let me know how I can do > this in CakePHP. > > Regards --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
