Copied to clipboard

Flag this post as spam?

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

  • oskar 8 posts 29 karma points
    Jan 30, 2010 @ 12:39

    Custom login control and custom menu control with protected pages

    Hi All,


    I have a custom login control and a custom menu control. In the Login control  ButtonLoginClick event I login the visitor with




    After that, I loop through all the pages to see where this user has access to, to show in my custom menu. But unfortunately, umbraco.cms.businesslogic.web.Access.HasAccess is not working at this moment, because




    will return null. When I refresh the page, all works fine.


    Does anybody has a clue to solve this problem?

  • Stephan Lonntorp 195 posts 212 karma points
    Jan 30, 2010 @ 16:19
    Stephan Lonntorp

    After logging in, redirect to the same page to allow the cookies to be set properly.

Please Sign in or register to post replies

Write your reply to: