|
ctasp-server.cgi |
|
The ctasp-server.cgi script, a Perl script located in the cgi-bin, is the central moving part of the JDC, as it is the script that handles the actual data collection. A JavaScript snippet placed in web pages calls this file with each visitor request. This script generates an expanded set of JavaScript commands which it sends back to the browser. The browser then executes the extended set of JavaScript code and calls the ctasp-server again with the complete data to be recorded.
The ctasp-server.cgi script receives this data and writes it onto the end of the Access.log. The script is fast and light, and is capable of executing up to 300 times a second.
