Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi
I'm having a problem accessing the current member inside a "UmbracoAuthorizedJsonController".
I've created the "yourAuthCookie" with the following code:
FormsAuthentication.SetAuthCookie(member.UserName, true);
Now when I try to call the function below it removes the "yourAuthCookie" cookie. But when I call this in a e.g. a razor page it will not be removed.
Members.GetCurrentLoginStatus();
Is there a way to access the current member while in the backoffice logged in as a member and a user?
Kind regards,Tom
[Information: Umbraco 7.2.4]
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Authentication cookie for member disappears
Hi
I'm having a problem accessing the current member inside a "UmbracoAuthorizedJsonController".
I've created the "yourAuthCookie" with the following code:
Now when I try to call the function below it removes the "yourAuthCookie" cookie. But when I call this in a e.g. a razor page it will not be removed.
Is there a way to access the current member while in the backoffice logged in as a member and a user?
Kind regards,
Tom
[Information: Umbraco 7.2.4]
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.