I have registred an StatisticsEventHandler in global.asax.cs and Application_Start:
EPiServer.Diagnostics.StatisticsLog.Logging += new EPiServer.Diagnostics.StatisticsEventHandler(StatisticsLog_Logging);
But the StatisticsLog_Logging event fire's twice per page!!
What can be wrong?
/Jonas
I have 0 experience with StatisticsEventHandler, but could it perhaps happen to be that your pages load twice (page_load) because you're using AutoEventWireup and also added your own InitializeComponent in code behind? Try debugging with a breakpoint in Page_Load and see if it's triggered twice.
// Björn Sållarp
Avantime AB