Copied to clipboard

Flag this post as spam?

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

  • Anders Brännmark 226 posts 277 karma points
    Jun 18, 2010 @ 11:48
    Anders Brännmark

    LoginView and Membership, Deleted member, still trying to show LoggedInTemplate

    Building custom memebership controls, was planning on using the LoginView to switch between diffrent templates but have now run into a problem. I'm using persistant cookies to keep member logged in. However if I delete the member from umbraco backend the member will get an error message No member with username 'lalla' exists.

    Anyone know a work around for this? Running a Umbraco installation.

  • Alex Skrypnyk 6119 posts 23746 karma points MVP 7x admin c-trib
    Apr 02, 2012 @ 16:18
    Alex Skrypnyk

    Have the same problem on umbraco after deleting user

                if (Membership.DeleteUser(CurrentMember.LoginName))


                    Response.Redirect("/", true);


Please Sign in or register to post replies

Write your reply to: