Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matthew Kirschner 323 posts 611 karma points
    Jun 08, 2015 @ 17:57
    Matthew Kirschner
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft