Fix persistent issues

This commit is contained in:
Jim Norman
2005-10-17 19:43:06 +00:00
parent 7500c9b1dd
commit 7d793edf1d
4 changed files with 40 additions and 3 deletions

View File

@@ -130,6 +130,14 @@ namespace sscs.common
{
User user = (User)sessionTable[userId];
SecretStore ss = user.GetSecretStore();
// start persistent if not going yet
if (!ss.IsStorePersistent())
{
string sDesktopPWD = ss.GetDesktopPasswd();
if (sDesktopPWD != null)
ss.StartPersistenceByDesktopPasswd(sDesktopPWD);
}
mutex.ReleaseMutex();
return ss;
}