I suggest you use database sessions, then have a shell script periodically check the table. If the script ran every hour, it would select only sessions that are between 24 and 25 hours old.
On Fri, Nov 9, 2012 at 4:01 PM, divyanshu das <[email protected]> wrote: > I am using cakephp 2.0. I have a controller function in which I need to > start a process when the user session becomes active and after 24 hours of > that, I need to call another function. > > Can somebody help me with this? > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > 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]. > Visit this group at http://groups.google.com/group/cake-php?hl=en. > > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- 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]. Visit this group at http://groups.google.com/group/cake-php?hl=en.
