locked
Cache Issues with AzMan RRS feed

  • Question

  • User1662475799 posted

    When I change or add roles in the AzMan UI, the only way I can make my application reflect those changes is to modify a item in the web config.  I have the cacheRefreshInterval set to 1 to see if in a minute it will change, but it does not. 

    Any help would be great.

    Thanks

    Wednesday, January 17, 2007 12:50 PM

All replies

  • User-946241348 posted

    I routinely make calls to the AzAuthorizationStoreClass.UpdateCache method.  For example:

    AzManStore = new AzAuthorizationStoreClass();
    AzManStore.Initialize(0, StoreConnection,
    null);
    AzManStore.UpdateCache(
    null);  // this causes the store to refresh and have access to the latest changes
    AzApplication = AzManStore.OpenApplication(ApplicationName,
    null);

     

    Wednesday, January 17, 2007 6:07 PM