Bug 844 - [Chameleon-Admin] add hitcounter
: [Chameleon-Admin] add hitcounter
Status: RESOLVED FIXED
: Chameleon
AdminTools
: 1.99
: PC Linux
: P2 enhancement
: 2.0 RC 1
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-11-11 20:39 by
Modified: 2004-11-12 11:03 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-11-11 20:39:35
Jacob has provided code he uses for counting hits on his chameleon apps.  It
consists of:

* a new directory in php_utils/src (common) called hitcounter
* a new page in the admin tool to view the results
* a new entry in the chameleon.xml configuration file (to turn it on or off)
* a change in chameleon.php to register a hit when starting a new session if the
option is turned on in the configuration files.
------- Comment #1 From 2004-11-11 20:52:04 -------
added to cvs as described above.  Jacob has volunteered to maintain this as
well :)
------- Comment #2 From 2004-11-11 21:14:42 -------
marking as fixed, Jacob to verify that it is integrated satisfactorily and
working on windows
------- Comment #3 From 2004-11-12 01:37:15 -------
I checked, and it works (using my config file). The only thing is, I don't think
the extra lines have been added to the distribution config file yet:

    <context-param>
      <param-name>count_hits</param-name>
      <param-value>true</param-value>
      <description>This option allows you to keep track of the visitors to the
site</description>
    </context-param>

------- Comment #4 From 2004-11-12 11:03:18 -------
added to cvs and updated the ms4w copy of chameleon.xml too.