Copied to clipboard

Flag this post as spam?

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


  • Aaron Henselin 1 post 21 karma points
    Jan 06, 2015 @ 17:42
    Aaron Henselin
    0

    PublicAccess not working in Umbraco 6x? - Does not recognize user as logged in

    After upgrading from 4x, Umbraco no longer correctly works with public access. Although the user is logged in, all protected pages redirect back to the login formular (NOT the access denied page)

    Using these lines on the master page,

      logged in: <%= umbraco.library.IsLoggedOn() %>

     roles: <%= string.Join(",",Roles.GetRolesForUser()) %>

    I've verified that the user is logged in according to Umbraco, and the roles that the user has are correct. Despite this, all pages configured with public access restrictions redirect back to login page as if the user never logged in.

    What criteria is used to determine that the user should be redirected to login formular? Has anyone else encountered something like this while adapting to 6x?

    Thanks!

    Aaron

     

Please Sign in or register to post replies

Write your reply to:

Draft