UnifiedFile access events?

Vote:
 

Hello

I need to log all user access to files (.zip files for example), just a simple log access counter. Problem is I can't seem to find anyway to hook up to a relevent event. Anyone got any ideas or workarounds?

//Regards Patrik

#55097
Nov 18, 2011 10:02
Vote:
 

Hello,

You could log file access in the UnifiedFileTransmitting event in Global.asax or in an IInitializableModule.

UnifiedFile.UnifiedFileTransmitting += new UnifiedFileEventHandler(OnUnifiedFileTransmitting);

protected void OnUnifiedFileTransmitting(UnifiedFile sender, UnifiedVirtualPathEventArgs e)
{

}

#55388
Dec 01, 2011 0:53
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.