phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

Login Logs

Discuss the future of phpBB. It is still nesting in its mother's womb, but it will grow a little bigger each day. Participate in its design & planning here.

Login Logs

Postby MichaelC » Mon Mar 22, 2010 12:09 pm

A useful log I have always thought would be useful would be a log of who logged on at what time, when they logged off and the IP.

Off course some people have more or less dB size for this and there should be a an on/off button and max amount of space field this bit on the db can use up.
Unknown Bliss
psoTFX wrote:I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"

No unsolicited PMs please except for quotes.
User avatar
MichaelC
Website Team
Website Team
 
Posts: 797
Joined: Thu Jan 28, 2010 6:29 pm

Re: Login Logs

Postby imkingdavid » Mon Mar 22, 2010 6:55 pm

Well, the logoff would be less useful because a lot of people never actually click Logout. But I think having a log with the IP, the number of attempts, etc. would be useful.
I do custom MODs. PM for a quote!
View My: MODs | Portfolio
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.
User avatar
imkingdavid
Development Team
Development Team
 
Posts: 900
Joined: Thu Jul 30, 2009 12:06 pm

Re: Login Logs

Postby MichaelC » Mon Mar 22, 2010 9:28 pm

Well, as soon as they stop viewing something on the site they effectively have logged off. Thats what I mean. I mean come onto and come off of the site as well as failed logins ect.,
Unknown Bliss
psoTFX wrote:I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"

No unsolicited PMs please except for quotes.
User avatar
MichaelC
Website Team
Website Team
 
Posts: 797
Joined: Thu Jan 28, 2010 6:29 pm

Re: Login Logs

Postby code reader » Tue Mar 23, 2010 6:39 pm

Unknown Bliss wrote:Well, as soon as they stop viewing something on the site they effectively have logged off. Thats what I mean. I mean come onto and come off of the site as well as failed logins ect.,

insightful, but pray tell: how do you know when someone stopped viewing something?
all we have on server side is the knowledge of pages requested (which and when). is there a way to sense what does the user actually view?

put differently (in your words): how do you sense the "come off" part?
code reader
Registered User
 
Posts: 629
Joined: Wed Sep 21, 2005 3:01 pm

Re: Login Logs

Postby ToonArmy » Tue Mar 23, 2010 8:31 pm

code reader wrote:
Unknown Bliss wrote:Well, as soon as they stop viewing something on the site they effectively have logged off. Thats what I mean. I mean come onto and come off of the site as well as failed logins ect.,

insightful, but pray tell: how do you know when someone stopped viewing something?
all we have on server side is the knowledge of pages requested (which and when). is there a way to sense what does the user actually view?

put differently (in your words): how do you sense the "come off" part?

Well you could log when the session is garbage collected, but I think logging user activity in this way is a step to far.
Chris SmithBlogXMOOhlohArea51WikiNo support via PM/IM
Image
User avatar
ToonArmy
Registered User
 
Posts: 335
Joined: Fri Mar 26, 2004 7:31 pm
Location: Bristol, UK

Re: Login Logs

Postby MichaelC » Wed Mar 24, 2010 11:06 am

ToonArmy wrote:
code reader wrote:
Unknown Bliss wrote:Well, as soon as they stop viewing something on the site they effectively have logged off. Thats what I mean. I mean come onto and come off of the site as well as failed logins ect.,

insightful, but pray tell: how do you know when someone stopped viewing something?
all we have on server side is the knowledge of pages requested (which and when). is there a way to sense what does the user actually view?

put differently (in your words): how do you sense the "come off" part?

Well you could log when the session is garbage collected, but I think logging user activity in this way is a step to far.


Fair point
Unknown Bliss
psoTFX wrote:I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"

No unsolicited PMs please except for quotes.
User avatar
MichaelC
Website Team
Website Team
 
Posts: 797
Joined: Thu Jan 28, 2010 6:29 pm

Re: Login Logs

Postby code reader » Thu Mar 25, 2010 4:08 pm

session garbage-collected is a far cry from "as they stop viewing something on the site" which is what the OP was talking about.
this happens, afair about an hour later?
so if you log user activity, you can *automatically* assume that an hour after log-in there is a log-out, and the quality of your information will not differ significantly than if you also log garbage-collecting sessions.
iow: i do not think that logging "garbage collecting the session" will have any real information content.
corollary: you may want to log log-ins (don't we already do it?), but it is pointless to log session expiration.

you *might* want to log active (=user-initiated) log-outs, but at least for me, personally, the only times i actually do it is on my own site, when i want to test something with a different user-thingy.
i never bother logging out of any other forum, and i guess many (most?) other users are like me in this regard.

peace.
code reader
Registered User
 
Posts: 629
Joined: Wed Sep 21, 2005 3:01 pm

Re: Login Logs

Postby Comkid » Sat Mar 27, 2010 9:32 am

Why not use JS, like you know those sites that say something when you try to leave, like please come back, well, why not send the info of them leaving the page with JS :P
Comkid
Registered User
 
Posts: 9
Joined: Tue Dec 15, 2009 10:30 am

Re: Login Logs

Postby MichaelC » Sat Mar 27, 2010 11:36 am

Comkid wrote:Why not use JS, like you know those sites that say something when you try to leave, like please come back, well, why not send the info of them leaving the page with JS :P


That would probably work.
Unknown Bliss
psoTFX wrote:I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"

No unsolicited PMs please except for quotes.
User avatar
MichaelC
Website Team
Website Team
 
Posts: 797
Joined: Thu Jan 28, 2010 6:29 pm

Re: Login Logs

Postby onehundredandtwo » Wed Apr 07, 2010 2:16 am

Just out of interest, why do you think forums would need to see when users have logged in and out? Maybe this would be better left as a MOD/plugin/whatever system phpBB4 will use?
Need help preventing spam? Read Preventing spam in phpBB 3.0.6 and above
User avatar
onehundredandtwo
Registered User
 
Posts: 33
Joined: Mon Feb 02, 2009 6:55 am

Next

Return to [4.x] Discussion

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 7 guests