24 Jun 2008
26 Nov 2008
Link to this post
My site is using membership roles to manage access to specific parts of the web-site. By using anonymous access and page permissions I can get part of the way there, but not fully. What I need is this:
Menu structure with a grouped tab. If the user is generic public then only display the top level and redirect to a page providing information on membership etc.
However if the user is logged in then the menu is fully populated and selecting the top level page redirects to first sub-page per normal.
Right now I can set it up so everything works just right except if a non-member selects the top menu tab, it redirects to my login page. I can't change that because other parts of my site need the login redirection, so I can't use that workaround.
I have an idea, but how do I put code in the page load function of a dynamically generated page in sitefinity.