On 3/19/07, majna <[EMAIL PROTECTED]> wrote: > > I think tehre is a bug when session is set to database. > expired sessions remains in db. > cake 1.1.13.4450
As someone who has used sessions in a database, I don't think that necessarily means that the session is still live. A custom session handler will be using the last activity time (whatever that is in your database) as a way to determine if the session is still active. If garbage collection hasn't removed that data yet, you will have session data that is expired in there with no way to be read...if you've written the session handler properly. At least that's how I've done it in the past. Your garbage collection routine will take care of deleting any expired data. Again, that's how I've done it in the past. Hope that helps. -- Chris Hartjes My motto for 2007: "Just build it, damnit!" rallyhat.com - digital photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
