Or you could just build a cron job (there's a blog post on how to run
CakePHP controllers from the command line) that checks any DB session
records that are older than X, where X is the session lifetime.

-MI

---------------------------------------------------------------------------

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-----Mensaje original-----
De: [email protected] [mailto:[EMAIL PROTECTED] En nombre
de jyrgen
Enviado el: Domingo, 04 de Febrero de 2007 09:50 p.m.
Para: Cake PHP
Asunto: cake_session table garbage collection

Do i have to delete session data manually from the cake_session
table ?
i.e. if a user has not logged out properly, the session data will
remain.


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

Reply via email to