Update: auth_event doesn't catch the login event when happening
through the "remember me" option. Any suggestions on how to track
this?

-- Aditya

On May 22, 10:28 am, Adi <[email protected]> wrote:
> On May 21, 7:44 pm, mdipierro <[email protected]> wrote:
>
> > Does this mean that the "remember me for 30 days" feature works well
> > for you?
> > I have been having some problems with it.
>
> Good question :)
>
> Actually without this option I've experienced that my session expires
> after a while (I think 10 minutes?), while with this option the
> session remains active for a long time (at least one day). But now
> that you mention this, I should check this behaviour thoroughly.
>
> On May 21, 5:13 pm, weheh <[email protected]> wrote:
>
> > Why don't you just keep a last_activity date? Also, the auth event log
> > keeps track of the last login automatically. Why not check it to see
> > what it's doing regarding last login when user has the "remember"
> > checkbox checked? Technically, if it's checked, they're not logging
> > in, right? Can you better articulate what you are really trying to
> > measure?
>
> I'm trying to measure user activity on the application - like sign-
> ups, sign-ins and sign-outs, etc. Introducing last_login was a way to
> internally track "active" users (for example, anyone with last_login
> in past one week is active, and anyone who has not logged in for a
> long time is an "inactive" user). I'm actually trying to mash-up my
> site activities with google analytics to come up with a variety of
> analytics of user behaviour that google analytics can't track alone.
>
> auth_event should do it. I'm checking its behaviour (checking
> "Remember me for 30 days" needs some time. :) ) Thanks a lot. I forgot
> all about auth_event. I should be using it to track my custom events
> as well.

Reply via email to