Google Answers Logo
View Question
 
Q: Online Presence ( Answered 4 out of 5 stars,   0 Comments )
Question  
Subject: Online Presence
Category: Computers > Internet
Asked by: gbm22-ga
List Price: $15.00
Posted: 19 Nov 2005 19:50 PST
Expires: 19 Dec 2005 19:50 PST
Question ID: 595315
Online dating sites such as Yahoo Personals and Match.com allow
members to send instant messages to other members that are listed as
"Online Now". Since these sites don't use an outside downloadable
client that would instantly inform the system of their presence,
exactly how do these sites determine somebody's presence? I understand
that they probably determine it based on some function of listing
someone online if they have clicked on a page within the last X number
of minutes. If this is indeed the case, what is that X number? 

I'm interested in knowing the general approach/technology these sites
use to calculate presence, as well as the specific policy (i.e., the X
number of minutes).

Thanks.
Answer  
Subject: Re: Online Presence
Answered By: webadept-ga on 19 Nov 2005 21:24 PST
Rated:4 out of 5 stars
 
Hi, 

Typically this is handled by using PHP sessions of similar technology.
http://us2.php.net/manual/en/ref.session.php

The idea is that there is a memory log on the server (most of the time
in a database table) which keeps track of when the last time you
clicked on a page was. It does this by setting the session variable
when you log into the website. The time frame for inactivity log-out
is usually around 20 minutes for casual meeting and social websites
like the ones you have listed. Websites like these tend to want as
little "hassle" associated with them as possible. Whereas a bank
website (like Washington Mutual for instance) will log you out in 2
minutes of inactivity, stressing security rather than relaxed hassle
free surfing.

You can test the actual time, or at least get a close figure by
testing the log out period on the site. Sometimes you can see the
information in a cookie in your browser. If you have Firefox for
example, you can use it to check the page information looking for the
expire-time. Go to Tools, Page Information, Cookies to see this in
Firefox.

Get Firefox Browser
http://www.mozilla.org/products/firefox/

Also, if you logout of course then the setting is switched instantly. 

webadept-ga
gbm22-ga rated this answer:4 out of 5 stars

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy