[hobbit] Tracking Users -- Ideas
Ward, Martin
Martin.Ward at colt.net
Thu Jan 24 18:12:05 CET 2008
Hi James,
Tracking users of a website is a little tricky unless you actually have
them logging in and out. Most websites are not stateful, which is to say
you do not have the concept of a user being logged in; the user
connects, downloads a webpage from your site and disconnects.
Your example:
> The log-file looks like this:
> 192.168.0.22 - user07 [20/Aug/2007:08:49:49 -0500] "GET
/htdocs/info/wd.html
shows a user ID so presumably you have some kind of authentication, but
do you have a "logoff" button and are your users forced to use it? Or
can they simply authenticate, download the data and then close their web
browser?
> So, it shows all the web pages the user accesses. What I really want
to know
> is how many users are currently connecting through to the web-site.
How can you define "Currently"? If you mean "How many people are
currently download webpages from my website and if you are running a
unix machines then you can use the "netstat -an" command and find all
connections that are connected to your local port 80 (or whichever port
your web server runs on).
|\/|artin
*************************************************************************************
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way.
The contents of this message and its attachments are confidential and may also be subject to legal privilege. If you are not the named addressee and/or have received this message in error, please advise us by e-mailing security at colt.net and delete the message and any attachments without retaining any copies.
Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses.
No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.
Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080124/d934b121/attachment.html>
More information about the Xymon
mailing list