Umbraco 4.6.1 - How to determine if user is logged on or not?
Hello using the following code in my usercontrols .cs file:
Page.User.Identity.IsAuthenticated
But this always returns false. How can this be done in Umbraco version 4.6.1??
Have also looked at the following code:
umbraco.library.IsLoggedOn()
Both of these always returns false, even when I am logged in. How to check if user is logged in correctly?? Trying to get this on the front-end. Is there a way to do this on the front-end?
I need to determine if USER is logged in, not Member! Anyways to do this on the front-end??
Umbraco 4.6.1 - How to determine if user is logged on or not?
Hello using the following code in my usercontrols .cs file:
But this always returns false. How can this be done in Umbraco version 4.6.1??
Have also looked at the following code:
Both of these always returns false, even when I am logged in. How to check if user is logged in correctly?? Trying to get this on the front-end. Is there a way to do this on the front-end?
I need to determine if USER is logged in, not Member! Anyways to do this on the front-end??
Hello,
The code you are using is only to checker if a member is logged on. It's not for users.
Try this:
Jeroen
is working on a reply...