I really want this issue gone, so £50 to the person who resolves it
I Built a site as title suggests, all OK, using the default database that Umbraco creates for you so everything is self contained, ive since moved the site now to a new server but im facing an issue where using:
var loginStatusModel = Members.GetCurrentLoginStatus();
and then later:
@if (loginStatusModel.IsLoggedIn)
{
}
else {
}
Trouble is its always hitting my else case, so the member system is effectively not working since moving the site over. Any ideas? Thanks
Using umbraco 7.11.1
I have in the logs reporting this;
2019-01-30 14:34:37,920 [P5684/D3/T4] INFO Umbraco.Core.Security.UmbracoMembershipProviderBase - Login attempt succeeded for username masterreview from IP address
Implying the member is logged in, but the page still hits the else.
The site works perfectly on the server it was developed on & locally when I use IIS Express, but not when I move it, no code changes take place.
I believe it's an environmental issue which is tricky to guess I know, but if you can think of anything like in IIS change X to false
just say it, ill try it, and if that's it, you get the bounty.