I once wrote a non-cake application with a secure login. As soon as we went live, the primary user complained that she was unexpectedly logged out all the time blah, blah, blah. So I wrote a simple java script timer that displayed a countdown to the next time-out. That way the user could see exactly when they will be timed out.
The js was very simple, all you need from cake is the length of the session timeout. Although I thought the complaint was quite trivial, I really liked the visible count-down. I'm sure with script.aculo.us, you could make something like this very easily. cook On Jun 2, 1:55 am, 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 cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---