public void InitStateManager()
 {
     if (!IsStoreInitialized && TheCDEngines.MyIStorageService != null)
     {
         IsStoreInitialized = true;
         MySessionStates.SetStorageService(TheCDEngines.MyIStorageService);
         MySessionStates.CreateStore(TheBaseAssets.MyServiceHostInfo.ApplicationName + ": Session State", "Log of all Session Activities", null, true, false);
     }
 }