熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> .NET編程 >> 正文

鮮花預定系統:登錄和退出[4]

2013-11-13 12:21:00  來源: .NET編程 
    ——此文章摘自《ASPNET +SQL Server網絡應用系統開發案例精解》定價 特價 詳細>>http://tracklinktechcn/?m_id=dangdang&a_id=A&l=&l_type= width= height= border= nosave>

                                }
                                PageRegisterStartupScript(refresh<script language=javascript>parenttophistorygo(); </script>);
                       }
                       catch(Exception ex)
                       {
                                thislblInfoText = 獲取用戶信息失敗! + exMessage;
                       }
             }
             else
             {
                       thislblInfoText = 登錄失敗!;
             }
    }
    private void ST_ShowInfo()
    {
             thisPanelVisible = false;
             thisPanelVisible = true;
             string timetimes;
             //獲取客戶端時間
             ST_GetVisitInfo(out timeout times);
             //顯示最新訪問日期
             thislblDateText = timeToString();
             //顯示最新訪問時間
             thislblTimesText = timesToString();
    }
    private void ST_GetVisitInfo(out string lastTimeout string times)
    {
             HttpCookie cookie = RequestCookies[ShopFlowerLogin];
             int type = intParse(cookieValues[Value]ToString());
             string FlowerShopCookie = ST_FunctionsST_DecryptCookie(cookieValues[ST_GROUPFlowerPrearrange]
ToString()type);
             string [] ST_myCookie = new String[];
             ST_myCookie = FlowerShopCookieSplit(#);
             //從客戶端獲取日期
             lastTime = ST_myCookie[];
             //從客戶端獲取時間
             times = ST_myCookie[];
    }

right>[http://developcsaicn/dotnet_ASP/htm>]  [http://developcsaicn/dotnet_ASP/htm>]  [http://developcsaicn/dotnet_ASP/htm>]  []  [http://developcsaicn/dotnet_ASP/htm>]  [http://developcsaicn/dotnet_ASP/htm>]  


From:http://tw.wingwit.com/Article/program/net/201311/15714.html
    推薦文章
    Copyright © 2005-2013 電腦知識網 Computer Knowledge   All rights reserved.