Hopes

          Start Here..

           

          if (Session.Count == 0)

          if (Session.Count == 0)
          {

          sessionPath = Server.MapPath(".");
          sessionPath = sessionPath + "http://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());

          }

          posted on 2012-09-18 18:36 ** 閱讀(154) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           

          導航

          統計

          公告

          你好!

          常用鏈接

          留言簿(2)

          隨筆檔案

          文章分類

          文章檔案

          新聞檔案

          相冊

          收藏夾

          C#學習

          友情鏈接

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 天台县| 军事| 齐齐哈尔市| 筠连县| 汉川市| 河曲县| 汝州市| 赤峰市| 余干县| 祁东县| 扎兰屯市| 怀远县| 浦县| 田阳县| 嵩明县| 砚山县| 宾阳县| 保靖县| 江阴市| 平陆县| 沾益县| 新昌县| 红桥区| 城固县| 丹凤县| 岳池县| 齐齐哈尔市| 乐都县| 莱州市| 黄陵县| 祁阳县| 五家渠市| 米林县| 闻喜县| 章丘市| 灵寿县| 建平县| 邹平县| 姚安县| 墨脱县| 镇原县|