List<string> list = clientRedis.SearchKeys("*") ;
try
{
string[] tempreaddata = datasave.Split(new Char[] { ',', ';' });
Dictionary<string, string> myDictionary = new Dictionary<string, string>();
foreach (string p in tempreaddata)
{
string[] tempsp0 = p.Split("=");
if (tempsp0.Length > 1)
{
if (myDictionary.ContainsKey(tempsp0[0]))
{
myDictionary.Remove(tempsp0[0]);
}
myDictionary.Add(tempsp0[0], tempsp0[1]);
clientRedis.Set<string>(tempsp0[0], tempsp0[1]);
}
}