Hello everyone, I need user *All login* and* logout time*. not only last login and logout time. I am using rails 3.2.8 + devise gem for User. Is there any way to get all time? Saravanan.
on 2013-01-02 07:48
on 2013-01-02 08:16
Hi Dheeraj Thanks for reply. In Trackable, i can only see total sign in count, last sign in time and sign out time... But I need, users all sign in and sign out time stamp. Is there any way? I can implement this by adding records in separate table by devise "after sign in" and "after sign out" method. But i think its not good idea to get that. On Wed, Jan 2, 2013 at 12:37 PM, Dheeraj Kumar <a.dheeraj.kumar@gmail.com>wrote: > I need user *All login* and* logout time*. not only last login and logout > To post to this group, send email to rubyonrails-talk@googlegroups.com. > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Regards by Saravanan.P
on 2013-01-02 08:46
May be if your open private window and signin. Then without signout, the user close browser my code (i.e "after sign out" method) will not run and i cant get sign out time... thats why i said... On Wed, Jan 2, 2013 at 12:50 PM, Dheeraj Kumar <a.dheeraj.kumar@gmail.com>wrote: > In Trackable, i can only see total sign in count, last sign in time and > > Hello everyone, > You received this message because you are subscribed to the Google Groups > > > To unsubscribe from this group, send email to > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Regards by Saravanan.P
on 2013-01-02 08:47
On Wed, Jan 2, 2013 at 3:20 PM, Dheeraj Kumar <a.dheeraj.kumar@gmail.com>wrote: > In Trackable, i can only see total sign in count, last sign in time and > sign out time... > But I need, users all sign in and sign out time stamp. > Is there any way? > > For past logins and logouts, there's no other way to get it other than parsing the log files. But I think that's no easy task plus you usually don't have info on who logged in and out in the logs so that may also be impossible. > I can implement this by adding records in separate table by devise "after > sign in" and "after sign out" method. But i think its not good idea to get > that. > > this is probably the best way to get what you want Good luck! > Dheeraj Kumar > > For more options, visit https://groups.google.com/groups/opt_out. > For more options, visit https://groups.google.com/groups/opt_out. > -- > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > --
on 2013-01-02 08:50
On Wed, Jan 2, 2013 at 3:44 PM, Saravanan P <saravanan.p@shriramits.com>wrote: > May be if your open private window and signin. > Then without signout, the user close browser my code (i.e "after sign out" > method) will not run and i cant get sign out time... thats why i said... > you can get around this by using javascript and ajax. Look at before https://developer.mozilla.org/en-US/docs/DOM/windo... >> >> that. >> -- >> Is there any way to get all time? >> https://groups.google.com/d/msg/rubyonrails-talk/-.... >> rubyonrails-talk+unsubscribe@googlegroups.com. >> >> > > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > --
on 2013-01-02 09:15
Ok Thanks for the reply Dheeraj Kumar and Jim Ruther Nill. On Wed, Jan 2, 2013 at 1:18 PM, Jim Ruther Nill <jvnill@gmail.com> wrote: > >>> >>> But I need, users all sign in and sign out time stamp. >>> a.dheeraj.kumar@gmail.com> wrote: >>> >>> Groups "Ruby on Rails: Talk" group. >>> -- >>> >>> rubyonrails-talk+unsubscribe@googlegroups.com. >>> rubyonrails-talk+unsubscribe@googlegroups.com. >> > > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Regards by Saravanan.P
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.