<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Paul,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I wasn't aware of the admin capability
(admin.php?). I just tried it, but it came out blank.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have implemented a simple counting solution, that
gathers information from a user when a new session is started (I call a function
from session.php). The information is just what I can get from php (IP, browser,
etc.), but at least I get some idea of who comes around. It opens/creates a dbf
file and adds a new record to it for each user. I had to give write permission
to the folder where I placed the dbf file. I wrote a small phtml file to spit
out the records, and give the totals. See <A
href="http://spatial.hgm.com.au/cwcroe7/common/session/viewstats.phtml">http://spatial.hgm.com.au/cwcroe7/common/session/viewstats.phtml</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm not sure if it should/could be a widget,
because it doesn't really have to do with the functionality of the page. I have
no doubt it could be implemented far more elaborately with more functionality
than what I made, though. (e.g. you could make it write W3C format logs, and use
an open-source web-statistics tool with graphs to analyse them).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If anyone is interested in the code, let me
know.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>regards,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jacob</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-----Original Message-----<BR>From: Paul Spencer
[mailto:pagameba@magma.ca] <BR>Sent: 9 August 2004 19:57<BR>To: J. Delfos<BR>Cc:
<A
href="mailto:chameleon@lists.maptools.org">chameleon@lists.maptools.org</A><BR>Subject:
Re: [Chameleon] Statistics for a chameleon server</FONT></DIV>
<DIV> </DIV><FONT face=Arial size=2>
<DIV><BR>Jacob,</DIV>
<DIV> </DIV>
<DIV>that's a neat widget idea. I think a generic logging widget would be
a <BR>useful thing for quite a few people. It may be useful to have it
hooked <BR>into the admin capability perhaps.</DIV>
<DIV> </DIV>
<DIV>Unfortunately, I don't have any plans to add such a widget, but if you
<BR>or someone else does, I'll certainly look at incorporating it into the
<BR>chameleon distribution.</DIV>
<DIV> </DIV>
<DIV>Cheers,</DIV>
<DIV> </DIV>
<DIV>Paul</DIV>
<DIV> </DIV>
<DIV>J. Delfos wrote:<BR>> Hi All,<BR>> <BR>> I just wanted to ask
whether anyone else has ever bothered to keep <BR>> statistics of their
chameleon site, and what would be the best way to do <BR>> so? The problems I
run into is that I don't want to use some image that <BR>> needs to be
downloaded for statistics to be done remotely, because that <BR>> can hold
things up (especially when using the 'onload' functionality to <BR>> trigger
chameleon functionality). If I use an apache log analyser, I <BR>> usually
would have to set up a whole statistics webpage, and I'm not too <BR>> happy
with the security some of those things offer. Also, the statistics <BR>> from
the log are not too useful, because users refreshing the page <BR>>
(submitting) results in multiple entries, and if you run more than one <BR>>
chameleon site you cannot tell easily what belongs to what (using a <BR>>
database to split up results doesn't work, because the URL strings are <BR>>
too long).<BR>> <BR>> Does anyone have a better idea? Perhaps a statistics
widget that uses <BR>> session info?<BR>> <BR>> Regards,<BR>>
<BR>> Jacob<BR>> <BR>> <BR>> <BR>> JACOB
DELFOS<BR>> SPATIAL INFORMATION ANALYST<BR>> Maunsell Australia Pty
Ltd<BR>> 629 Newcastle Street<BR>> PO Box 81<BR>> Leederville
6902<BR>> Western Australia<BR>> ABN 20 093 846 925<BR>> <BR>>
Tel + 61 8 9281 6185<BR>> Fax + 61
8 9281 6297<BR>> <A
href="mailto:jacob.delfos@maunsell.com">jacob.delfos@maunsell.com</A> <<A
href="mailto:jacob.delfos@maunsell.com">mailto:jacob.delfos@maunsell.com</A>><BR>>
<BR>> <BR>>
------------------------------------------------------------------------<BR>>
<BR>> _______________________________________________<BR>> Chameleon
mailing list<BR>> <A
href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</A><BR>>
<A
href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</A></DIV>
<DIV> </DIV>
<DIV>-- <BR>
-----------------------------------------------------------------<BR>|Paul
Spencer
<A href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</A>
|<BR>|-----------------------------------------------------------------|<BR>|Applications
& Software
Development
|<BR>|DM Solutions Group
Inc
<A href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</A>|<BR>
-----------------------------------------------------------------<BR></FONT></DIV></BODY></HTML>