<!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>With "usage by application", do you mean for
different contexts? I guess if it has to be specific for a module, we would have
to specify a module name in chameleon. It would probably not be a bad idea for
other purposes as well, if a chameleon site (whether chameleon or CWC based)
could be referred to by means of a module name. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>We run a few sites on our server, but for each site
I set up a separate htdocs area (so I can be more specific in configuration, and
permissions). So I guess it wouldn't make a difference for us. But I imagine it
could be easy to have statistics all stored in the same folder on the disc, with
the dbf named after their module. The admin module could inventorise all
availabe statistics files without having to know which modules exist. Am I being
too vague here?</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><BR>Jacob</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>-----Original Message-----<BR>From: Paul Spencer
[<<A href="mailto:pagameba@magma.ca">mailto:pagameba@magma.ca</A>>]
<BR>Sent: 2 September 2004 21:27<BR>To: Jacob 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>the admin pages are not currently working but will be fixed up for the
<BR>next beta.</DIV>
<DIV> </DIV>
<DIV>Sounds like a cool utility. Can it be extended to track useage by
<BR>application as well?</DIV>
<DIV> </DIV>
<DIV>I would be interested in adding it to the admin package as an optional
<BR>component.</DIV>
<DIV> </DIV>
<DIV>Cheers,</DIV>
<DIV> </DIV>
<DIV>Paul</DIV>
<DIV> </DIV>
<DIV>Jacob Delfos wrote:</DIV>
<DIV> </DIV>
<DIV>> Paul,<BR>> <BR>> I wasn't aware of the admin capability
(admin.php?). I just tried it, <BR>> but it came out blank.<BR>>
<BR>> I have implemented a simple counting solution, that gathers information
<BR>> from a user when a new session is started (I call a function from
<BR>> session.php). The information is just what I can get from php (IP,
<BR>> browser, etc.), but at least I get some idea of who comes around. It
<BR>> opens/creates a dbf file and adds a new record to it for each user. I
<BR>> had to give write permission to the folder where I placed the dbf file.
<BR>> I wrote a small phtml file to spit out the records, and give the
totals. <BR>> See <<A
href="http://spatial.hgm.com.au/cwcroe7/common/session/viewstats.phtml">http://spatial.hgm.com.au/cwcroe7/common/session/viewstats.phtml</A>><BR>>
<BR>> I'm not sure if it should/could be a widget, because it doesn't really
<BR>> have to do with the functionality of the page. I have no doubt it could
<BR>> be implemented far more elaborately with more functionality than what I
<BR>> made, though. (e.g. you could make it write W3C format logs, and use an
<BR>> open-source web-statistics tool with graphs to analyse
them).<BR>> <BR>> If anyone is interested in the code, let me
know.<BR>> <BR>> regards,<BR>> <BR>> Jacob<BR>>
<BR>> <BR>> -----Original Message-----<BR>> From: Paul Spencer
[<<A
href="mailto:pagameba@magma.ca">mailto:pagameba@magma.ca</A>>]<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>
<<<A
href="mailto:chameleon@lists.maptools.org">mailto:chameleon@lists.maptools.org</A>>><BR>>
Subject: Re: [Chameleon] Statistics for a chameleon server<BR>>
<BR>> <BR>> Jacob,<BR>> <BR>> 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.<BR>> <BR>> 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.<BR>>
<BR>> Cheers,<BR>> <BR>> Paul<BR>> <BR>> 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>> <<<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>
<<<A
href="mailto:Chameleon@lists.maptools.org">mailto:Chameleon@lists.maptools.org</A>>><BR>>
> <<A
href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</A>><BR>>
<BR>> -- <BR>>
-----------------------------------------------------------------<BR>> |Paul
Spencer
<A href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</A> <BR>>
<<<A
href="mailto:pspencer@dmsolutions.ca">mailto: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>>
<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>
-----------------------------------------------------------------</DIV>
<DIV> </DIV>
<DIV></FONT> </DIV></BODY></HTML>