ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Does EE keep track of when a user last logged in?

September 18, 2008 10:47am

Subscribe [1]
  • #1 / Sep 18, 2008 10:47am

    4flix

    88 posts

    Just curious if EE does keep track f when a user last logged in and if (no need to know how right now) it can be easily accessed? 

    Say, for example, if I wanted to show if a user has been logged in with the last 7 days.  Does EE keep in its database WHEN a user last logged in?

    Thanks
    Kevin

  • #2 / Sep 18, 2008 10:53am

    Ingmar

    29245 posts

    Yes, it does. EE stores “last_visit” and “last_activity” of its members in exp_members.

  • #3 / Sep 18, 2008 11:00am

    4flix

    88 posts

    Thank you!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases