Copied to clipboard

Flag this post as spam?

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


  • michael 2 posts 72 karma points
    Sep 11, 2015 @ 12:49
    michael
    0

    Sign-in history log

    Hi,

    I am looking for a way to keep a log of sign-in information to my Umbraco site. Is there a recommended / supported way to do this?

    I found this thread but it only captures a datetime string.

    https://our.umbraco.org/forum/developers/extending-umbraco/19331-Timestamp-of-member-log-ins

    Thanks for any pointers!

  • Comment author was deleted

    Sep 15, 2015 @ 18:42

    Hi Michael,

    You should be able to do this pretty easily by hooking into the event model, but first let me ask is this for backoffice users or members on your frontend? Depending on that I can give you a couple of pointers

  • michael 2 posts 72 karma points
    Sep 16, 2015 @ 09:35
    michael
    0

    Hi Tim,

    This is for back end users only.

  • Comment author was deleted

    Sep 16, 2015 @ 17:54

    Don't think there are events but you could add a custom membership provider (you"ll just need to overwrite the ValidateUser method) , take a look at this one https://our.umbraco.org/forum/developers/extending-umbraco/19331-Timestamp-of-member-log-ins#comment-155831 but you'll need to look at the user member ship provider instead of the members

  • Paul Griffiths 370 posts 1021 karma points
    Jan 06, 2016 @ 16:15
    Paul Griffiths
    0

    Hi Tim,

    Just come across this and was wondering if you could provide some pointers on how i could obtain a time stamp for the last time a user logged in to me website via the frontend please?

    The application i am currently working on is fairly old and is on v4.x

    Many thanks Paul

Please Sign in or register to post replies

Write your reply to:

Draft