if (Session.Count == 0)
{
sessionPath = Server.MapPath(".");
sessionPath = sessionPath + "//session.txt";
FileStream fp = new FileStream(sessionPath, FileMode.OpenOrCreate, FileAccess.Read);
StreamReader sr = new StreamReader(fp);
string strSession = sr.ReadLine();
while (strSession != null)
{
string sp = "!";
string[] sessionArray = strSession.Split(sp.ToCharArray());
string key = sessionArray[0].ToString();
Session[key] = sessionArray[1].ToString();
strSession = sr.ReadLine();
}
sr.Close();
pricount = pr.getpricount(this.Session["username"].ToString());
}