Umbraco backoffice redirect interferes with front end user lookup
I'm trying to add custom features to the front end of my site when an Umbraco user is signed in. However, since my site is load balanced with a separate domain for the backoffice, Umbraco is unable to recognize that a user is logged in on the front end.
How do I get Umbraco to also look at http://mysite.com when validating users, as opposed to it's current pattern of getting redirected to http://admin.mysite.com for any backoffice query?
The code I'm using to get the user is:
UmbracoContext.Current.Security.CurrentUser
which returns null for mysite.com, but works when I'm on admin.mysite.com.
Umbraco backoffice redirect interferes with front end user lookup
I'm trying to add custom features to the front end of my site when an Umbraco user is signed in. However, since my site is load balanced with a separate domain for the backoffice, Umbraco is unable to recognize that a user is logged in on the front end.
How do I get Umbraco to also look at http://mysite.com when validating users, as opposed to it's current pattern of getting redirected to http://admin.mysite.com for any backoffice query?
The code I'm using to get the user is:
which returns null for mysite.com, but works when I'm on admin.mysite.com.
is working on a reply...