On Thursday, February 23, 2012 4:46:10 AM UTC-5, Prakhar Srivastava wrote: > > how can i capture the logout time > i can easy capture the login time with help of .now() bt i couldn't > the logout time
Note, the auth_events table already records all Auth events, including all logins and logouts, so you can just read the timestamps from that table. Otherwise, you can specify functions for auth.settings.login_onaccept and auth.settings.logout_onlogout to store the current time in a db table upon login and logout. Anthony