No Menu for New User?
Users are cached in Globals class under âApp_Codeâ folder of web project.
Thatâs why we need to invalidate the cache and load the data again from DB every time we create new user or role.
To work around this I call Globals.LoadXXX(Page.Cache) methods.
These methods exatelly do the same.
On save of user I call
Globals.LoadUsers(Page.Cache);
After Saving it.
On save of role I call
Globals.LoadRoles(Page.Cache);
After Saving it.
But when I logged in from newly created user in to system. The menu tab and tree are not rendered at all only for newly created user for old users it works fine. I need to restart the web server (IIS) to make it work. any one tried to solve it? Please share your findings.
|