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.
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
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
Thanks for the solution Peter. It works like charm.
is working on a reply...