Webservice Session使用方法 又一篇
摘要:
在webService 有两个方法1. [WebMethod(Description = "登录",EnableSession=true)]public bool ClientLogin(string uNmae, string pwd){//连接数据库验证用户登录//创建一个sessionSystem.Web.HttpContext.Current.Session["UserName"] = username;return true;}2.[WebMethod(Description = "获取登录用户名称",EnableSessi 阅读全文
posted @ 2011-04-01 10:56 Jan.David 阅读(4335) 评论(2) 推荐(2)
浙公网安备 33010602011771号