[web2py] Re: Catch auto-login event

2010-05-23 Thread weheh
As I said before, if the remember me option is checked, they technically aren't logging in, right? I think what you're looking for is more along the lines of what Google Analytics already does, but anonymously. Perhaps what you need to do is to add a custom logging feature to your web app that keep

[web2py] Re: Catch auto-login event

2010-05-22 Thread Adi
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 wrote: > On May 21, 7:44 pm, mdipierro wrote: > > > Does this mean that the "remember me for 30 days" feature works well > >

[web2py] Re: Catch auto-login event

2010-05-21 Thread Adi
On May 21, 7:44 pm, mdipierro 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 w

[web2py] Re: Catch auto-login event

2010-05-21 Thread mdipierro
Does this mean that the "remember me for 30 days" feature works well for you? I have been having some problems with it. On May 20, 5:45 am, Adi wrote: > Hi, > > I use the "Remember me for 30 days" feature in our app. I used a > custom auth_table with a column "last_login" to update every time a >

[web2py] Re: Catch auto-login event

2010-05-21 Thread weheh
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

[web2py] Re: Catch auto-login event

2010-05-20 Thread Adi
Sure. Thanks for the update. On May 21, 9:34 am, mdipierro wrote: > need to work on this. On the case but being distracted sorry. > > On May 20, 10:50 pm, Adi wrote: > > > > > Any help on this? > > > On May 20, 3:45 pm, Adi wrote: > > > > Hi, > > > > I use the "Remember me for 30 days" feature

[web2py] Re: Catch auto-login event

2010-05-20 Thread mdipierro
need to work on this. On the case but being distracted sorry. On May 20, 10:50 pm, Adi wrote: > Any help on this? > > On May 20, 3:45 pm, Adi wrote: > > > Hi, > > > I use the "Remember me for 30 days" feature in our app. I used a > > custom auth_table with a column "last_login" to update every t

[web2py] Re: Catch auto-login event

2010-05-20 Thread Adi
Any help on this? On May 20, 3:45 pm, Adi wrote: > Hi, > > I use the "Remember me for 30 days" feature in our app. I used a > custom auth_table with a column "last_login" to update every time a > user logs into the application. > > Currently I update it in a function call like this: > ---