Clan x86

General Forums => General Discussion => Topic started by: while1 on December 24, 2010, 01:45:42 AM

Title: Total time logged in.
Post by: while1 on December 24, 2010, 01:45:42 AM
Let's see who has less of a life!

Quote
Total time logged in: 12 days, 11 hours and 15 minutes.
Title: Re: Total time logged in.
Post by: Blaze on December 24, 2010, 01:53:21 AM
Most Time Online
   
Sidoh       352d 10h 57m
Ergot       124d 10h 31m
Blaze       119d 20h  6m
iago         87d  6h  8m
Newby        81d 21h 40m
CrAz3D       73d 11h 12m
rabbit       56d 13h 41m
deadly7      53d 13h 35m
Joe          53d  3h 25m
Towelie      52d 12h 50m


Edit: fixed
Title: Re: Total time logged in.
Post by: Sidoh on December 24, 2010, 02:37:50 AM
What's up with the ordering?  How is 3d more than 53d?  Haha.

There was a bug in SMF a few years ago where an RSS reader requesting a feed counted as being logged in, so the stats are kinda meaningless for most people.
Title: Re: Total time logged in.
Post by: Blaze on December 24, 2010, 03:26:24 AM
Quote from: Sidoh on December 24, 2010, 02:37:50 AM
What's up with the ordering?  How is 3d more than 53d?  Haha.

There was a bug in SMF a few years ago where an RSS reader requesting a feed counted as being logged in, so the stats are kinda meaningless for most people.

Accidentally deleted a number when reformatting :D
Title: Re: Total time logged in.
Post by: deadly7 on December 24, 2010, 03:40:15 AM
Quote from: Sidoh on December 24, 2010, 02:37:50 AM
What's up with the ordering?  How is 3d more than 53d?  Haha.

There was a bug in SMF a few years ago where an RSS reader requesting a feed counted as being logged in, so the stats are kinda meaningless for most people.
Mine is sans-RSS. What up bitchez.
Title: Re: Total time logged in.
Post by: Newby on December 24, 2010, 07:09:25 AM
I never subscribed to any RSS feed. Suck it bitches.
Title: Re: Total time logged in.
Post by: CrAz3D on December 24, 2010, 12:17:49 PM
I never used the RSS dealio.  Also, I havent been here much lately (the last few years).  Wow.
Title: Re: Total time logged in.
Post by: iago on December 24, 2010, 12:24:39 PM
Quote from: Newby on December 24, 2010, 07:09:25 AM
I never subscribed to any RSS feed. Suck it bitches.
Neither have I. :)
Title: Re: Total time logged in.
Post by: Blaze on December 24, 2010, 02:25:43 PM
I'd guess mine was inaccurate by about 9-10 days.
Title: Re: Total time logged in.
Post by: Furious on December 24, 2010, 02:55:10 PM
Total time logged in: 8 days, 10 hours and 32 minutes.

But I haven't spent much time here in the last 2-3 years, forums have died quite a bit.
Title: Re: Total time logged in.
Post by: AntiVirus on December 25, 2010, 01:10:16 AM
I swear mine doesn't count it correctly. It says 14d 13h 33m; however, I have been logged in and idle on these forums for a day at a time and it doesn't seem to change my total time logged in.  Maybe it's only total time logged in and active?
Title: Re: Total time logged in.
Post by: Joe on December 25, 2010, 06:13:51 AM
Quote from: AntiVirus on December 25, 2010, 01:10:16 AM
I swear mine doesn't count it correctly. It says 14d 13h 33m; however, I have been logged in and idle on these forums for a day at a time and it doesn't seem to change my total time logged in.  Maybe it's only total time logged in and active?

If it were total time logged in, I'd be well over 4 years. I never log out.
Title: Re: Total time logged in.
Post by: iago on December 25, 2010, 09:53:50 AM
Quote from: AntiVirus on December 25, 2010, 01:10:16 AM
I swear mine doesn't count it correctly. It says 14d 13h 33m; however, I have been logged in and idle on these forums for a day at a time and it doesn't seem to change my total time logged in.  Maybe it's only total time logged in and active?
If you leave your browser open on a page and don't click anything, the site has no way to know that you're still there (because you aren't sending it any requests).
Title: Re: Total time logged in.
Post by: deadly7 on December 25, 2010, 03:47:45 PM
Quote from: iago on December 25, 2010, 09:53:50 AM
If you leave your browser open on a page and don't click anything, the site has no way to know that you're still there (because you aren't sending it any requests).
I believe SMF keeps a 10 minute session open and then re-leases that time every new request you send. I don't remember where I read that though.
Title: Re: Total time logged in.
Post by: AntiVirus on December 25, 2010, 04:03:00 PM
Quote from: iago on December 25, 2010, 09:53:50 AM
Quote from: AntiVirus on December 25, 2010, 01:10:16 AM
I swear mine doesn't count it correctly. It says 14d 13h 33m; however, I have been logged in and idle on these forums for a day at a time and it doesn't seem to change my total time logged in.  Maybe it's only total time logged in and active?
If you leave your browser open on a page and don't click anything, the site has no way to know that you're still there (because you aren't sending it any requests).

Got'cha.  I feel like the browser should just know. :P
Title: Re: Total time logged in.
Post by: iago on December 26, 2010, 12:51:48 AM
Quote from: deadly7 on December 25, 2010, 03:47:45 PM
Quote from: iago on December 25, 2010, 09:53:50 AM
If you leave your browser open on a page and don't click anything, the site has no way to know that you're still there (because you aren't sending it any requests).
I believe SMF keeps a 10 minute session open and then re-leases that time every new request you send. I don't remember where I read that though.
Yeah, that's pretty much the only way to do it. And it makes sense.
Title: Re: Total time logged in.
Post by: deadly7 on December 26, 2010, 05:14:10 PM
Quote from: iago on December 26, 2010, 12:51:48 AM
Yeah, that's pretty much the only way to do it. And it makes sense.
How do they keep timed session? Is it just a timestamp stored in a cookie that then gets read by the website?
Title: Re: Total time logged in.
Post by: iago on December 26, 2010, 07:34:03 PM
Quote from: deadly7 on December 26, 2010, 05:14:10 PM
Quote from: iago on December 26, 2010, 12:51:48 AM
Yeah, that's pretty much the only way to do it. And it makes sense.
How do they keep timed session? Is it just a timestamp stored in a cookie that then gets read by the website?
No idea, but the most logical way to time a session would be to measure time between page hits. After a certain threshold, it counts as a new 'visit'.
Title: Re: Total time logged in.
Post by: Joe on December 27, 2010, 07:57:51 AM
They could just set a last visit field on your user row in the database. If you did it with a session variable cookie, you could hack it each time so your last load was 9 minutes and 50 seconds previous and rack up time very quickly. Then again, only the truly paranoid would protect against this attack.

EDIT -
It's 7:02 AM. That's my excuse and I'm sticking with it.
Title: Re: Total time logged in.
Post by: deadly7 on December 27, 2010, 11:33:49 AM
Quote from: Joe on December 27, 2010, 07:57:51 AM
They could just set a last visit field on your user row in the database. If you did it with a session variable cookie, you could hack it each time so your last load was 9 minutes and 50 seconds previous and rack up time very quickly.
I'd understand for something meaningful why they would protect against that. My credit card website times you out after a certain amount of inactivity and you have to log back in. For SMF, I can't understand any reason for doing so.
Title: Re: Total time logged in.
Post by: Newby on December 27, 2010, 04:30:20 PM
Quote from: deadly7 on December 27, 2010, 11:33:49 AM
My credit card website times you out after a certain amount of inactivity and you have to log back in. For SMF, I can't understand any reason for doing so.

Likely the same way it does it.

The way the Last Activity (http://forum.x86labs.org/index.php?action=who) page works is that it lists the last users logged in, the last page they loaded and how long ago that was. Within 15 minutes of you loading that page. Anyone wanna bet it has something to do with that?

(It adds your time between page loads to your total time logged in, and if you don't load a page after 15 minutes it adds 15 minutes and kills your session.)

Were we still really wondering how it works? Maybe I just jumped to conclusions.

Basically anyone that wanted to cheat that number could load Opera and have it refresh once every 15 minutes. Any faster than that and you're just wasting iago's precious bandwidth. :(