Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Edgar Rasquin 326 posts 925 karma points
    Jul 07, 2017 @ 13:42
    Edgar Rasquin
    0

    Trace member login/download

    Hello,

    is it possible to keep track of member logins and trace what member downloaded what file?

    Thanks

  • Janus Kamp Hansen 19 posts 156 karma points
    Jul 08, 2017 @ 18:03
    Janus Kamp Hansen
    0

    Hi Edgar,

    Yes, but this is not an out-of-box feature. You will have to log it yourself.

    You can log it to the UmbracoTraceLog located in /App_Data/Log/.

    In the namespace Umbraco.Core.Logging, you will find LogHelper

    LogHelper.Info(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType, "Member signed in. (Insert name, id or something else)");
    

    You could also write an record in a table on a database, but it's up to you.

    I hope it helps.

  • Edgar Rasquin 326 posts 925 karma points
    Jul 11, 2017 @ 09:21
    Edgar Rasquin
    0

    Thanks Janus,

    I will look into that. Thank you for your reply.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies