try
{
tmp = (MemoryStream)Session["ch1"];
tmp.Position = 0;
ch1.Import.Template.Load(tmp);
}
catch(System.Exception ex)
{
tmp = new MemoryStream();//重新生成Stream
ch1.Export.Template.Save(tmp);
Session.Add("ch1",tmp);
}