Hi all,
Wondering if anyone can help me with this issue. I am using a SqlSiteMapProvider (inherits from SiteMapProvider) to build a menu on my site from an Oracle DB. This menu is built according to the user type, ie, user type A's menu is different from user type B. However the problem that I am having is that if I log as type A, the menu loads as expected, however if I log straight in again as type B the site will still display type A's menu, and vice versa. Its seems to me that the menu is being loaded into memory somehow, and what I actually need it to do is reload the sitemap each time someone logs in. If I put debugs in the SqlSiteMapProvider class it only seems to fire the 'New' constructor during the first login and not each time thereafter (Unless I close down Visual Studio and start again).
Basically, what I think I need is to force the siteMapProvider to reload, but I am not sure how to do this!
As you can probably tell, I am new to using these navigation controls, so any help would be really appreciated. I am really banging my head against a brick wall over this one!
Regards,
David.