Copied to clipboard

Flag this post as spam?

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


  • Jeppe Andreasen 10 posts 30 karma points
    Oct 15, 2012 @ 10:28
    Jeppe Andreasen
    0

    System.Web.Security.Membership.GetUser() returns null in frontent

    Hi, I am trying to make a "jump to editing" button in the frontend of my site. Basically if a user is logged in to the backend, they will see a button in the frontend so they can jump directly to the current page inside umbraco.

    However System.Web.Security.Membership.GetUser() returns null even though I am logged in to umbraco.

    On the other hand, umbraco.BusinessLogic.User.GetCurrent(); returns the administrator account even if I log out.

    What am I missing here ?

     

Please Sign in or register to post replies

Write your reply to:

Draft