Copied to clipboard

Flag this post as spam?

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


  • Stephan Lonntorp 195 posts 212 karma points
    Dec 21, 2010 @ 17:10
    Stephan Lonntorp
    1

    Using umbracoLastLoginPropertyTypeAlias causes Member events Beforesave and AfterSave to be fired on every login

    Todays gotcha:

     

    When you use umbracoLastLoginPropertyTypeAlias in the MembershipProvider configuration, to set a property that is automatically updated to the current logindate of a user, it causes the events Member.BeforeSave and Member.AfterSave to fire.

    Thus, be careful when you use these events, don't do anything heavy in them.

     

    Oh, and does anyone know of a graceful way to handle this? And, should this be logged as a bug, or maybe it's an intended "feature"?

  • 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