Statistics Logging

Vote:
 
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
#13114
Mar 25, 2008 18:35
Vote:
 
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
#15439
Mar 25, 2008 18:47
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.