Re: delete rows on session experation
On 10/5/06, Nathan Garza <[EMAIL PROTECTED]> wrote: > > Is it posible to delete database rows whenever the session expires? You may use this callback function: session_set_save_handler( ) http://id.php.net/session_set_save_handler -- http://www.mahesajenar.com/2006/09/ngabuburit_bersama_asongan.html --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: delete rows on session experation
Hi Nathan, Rather than trying to accomplish this task during expiration, you could remove rows from your table when a user attempts to login with an expired session. Before you assign a new session id, check your data and remove any rows as required, then generate a new session ID and let them continue one. Tyler Rooney Nathan Garza wrote: > Is it posible to delete database rows whenever the session expires? > > -- > > Nathan Garza > > AshLeaf Media | Owner > _ > www.ashleafmedia.com | [EMAIL PROTECTED] | 832.514.5726 --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
delete rows on session experation
Is it posible to delete database rows whenever the session expires? -- Nathan Garza AshLeaf Media | Owner _ www.ashleafmedia.com | [EMAIL PROTECTED] | 832.514.5726 --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---