Copied to clipboard

Flag this post as spam?

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


  • Daniel Leiszen 4 posts 24 karma points
    Mar 15, 2010 @ 09:17
    Daniel Leiszen
    0

    HttpContext.Current.User is null on root page using umbracoMembershipProvider

    Hello,

    I've created an Umbraco site and I'm trying to use the membership support. Everything is just fine, I can log in, log out, sing in, but one annoying problem appears. On my home page, the authentication does not seem to work. All the other pages are fine, but if I navigate back to the root, it does not know anything about the user. Actually the HttpContext.Current.User is null and thus the Request.IsAuthenticated is false.

    Please give some advice, where to find the problem.

    Thanks,

    Daniel

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Mar 15, 2010 @ 09:45
    Peter Dijksterhuis
    1

    It's been discussed not so long ago. Here's the solution:

    http://our.umbraco.org/forum/using/ui-questions/7668-Membership--Login?p=2#comment28243

    Peter

  • Daniel Leiszen 4 posts 24 karma points
    Mar 15, 2010 @ 16:39
    Daniel Leiszen
    0

    Thanks for the solution Peter. It works like charm.

Please Sign in or register to post replies

Write your reply to:

Draft