电脑故障

位置:IT落伍者 >> 电脑故障 >> 浏览文章

鲜花预定系统:登录和退出[3]


发布日期:2019/8/8
 
——此文章摘自《ASPNET +SQL Server网络应用系统开发案例精解》定价特价 详细>>http://tracklinktechcn/?m_id=dangdang&a_id=A&l=&l_type= width= height= border= nosave>

</asp:HyperLink></TD>

</TR>

</TABLE>

</asp:panel></td>

</tr>

)ST_Leftaspxcs页面是用户验证模块的核心包含了用户验证的主要功能解释如下

protected void ib_Login_Click(object sender SystemEventArgs e)

{

//创建ST_User类的对象

ST_GROUPFlowerPrearrangeST_User user = new ST_GROUPFlowerPrearrangeST_User();

//获取用户名

ST_name = thistb_AccountTextTrim();

userST_Name = ST_name;

//获取密码

userST_Password = thistb_PasswordTextTrim();

//判断用户是否存在

if(userST_Login())

{

//显示欢迎信息

thislblInfoText = 欢迎您+userST_Name;

try

{

//获得用户信息

userST_GetUserInfo();

ST_id = userST_ID;

Session[UserName] = ST_name;

Session[UserID] = ST_id;

if(ObjectEquals(RequestCookies[ShopFlowerLogin]null))

{

ST_CreateCookie();

//显示面板信息

ST_ShowInfo();

}

else

{

ST_ShowInfo();

ST_UpdateCookie();

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>]

上一篇:鲜花预定系统:登录和退出[1]

下一篇:鲜花预定系统:登录和退出[4]