3.2.4 - Enable Statistics

Top  Previous  Next

 

Prerequisites

 

It is necessary to have database created and running sucessfully before reading this section.

 

Installation

 

Permission by default is disabled. To enable it, edit Web.Config and change the following:

 

<add key="SC_Statistics_Enabled" value="False" />

 

change to:

 

<add key="SC_Statistics_Enabled" value="True" />

 

 


Technical Details

 

  Statistics takes the following parameters in URL as query string (HTTP GET):

 

SpeedCheck_statistics.aspx?transfer_type=[type]&transfer_size=[size]&time_taken=[time]&session_id=[session_id]

 

[transfer_type]: Integer, 0: download, 1:upload

[transfer_size]: Integer, size in bytes

[time_taken]: Integer, time taken in milliseconds

[session_id]: String, the session ID (gerneated in ASPX script as Applet parameter)

 

URL example:

SpeedCheck_statistics.aspx?transfer_type=1&transfer_size=10&time_taken=15&session_id=sc_1234567890_123