Re: [PHP] Logging session timeout in DB

2008-03-07 Thread Richard Lynch
On Wed, March 5, 2008 2:08 am, Angelo Zanetti wrote: I am implementing a system where when a user is logged in and out that a date time is set in a database for each action for each used. We can then trace who logged in a and when. No what I would like to know is how can I record when a

RE: [PHP] Logging session timeout in DB

2008-03-06 Thread Angelo Zanetti
Thanks Daniel, this is a good solution, I will implement it and get it working! Cheers Angelo -Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: 05 March 2008 20:37 To: Angelo Zanetti Cc: php-general@lists.php.net Subject: Re: [PHP] Logging session timeout in DB

[PHP] Logging session timeout in DB

2008-03-05 Thread Angelo Zanetti
Hi all, I am implementing a system where when a user is logged in and out that a date time is set in a database for each action for each used. We can then trace who logged in a and when. No what I would like to know is how can I record when a user closes the browser or the session expires?

Re: [PHP] Logging session timeout in DB

2008-03-05 Thread Daniel Brown
On Wed, Mar 5, 2008 at 3:08 AM, Angelo Zanetti [EMAIL PROTECTED] wrote: [snip!] No what I would like to know is how can I record when a user closes the browser or the session expires? There is no action for these items. So what would the best way be to keep a record of this? Would the use of