摘要:
在使用asp.net编写webservice时,默认情况下是不支持session的,但我们可以把WebMethod的EnableSession选项设为true来显式的打开它,请看以下例子:1 新建网站WebSite2 新建web服务WebService.asmx,它具有以下两个方法:[WebMethod(EnableSession = true)]public string Login(strin... 阅读全文
posted @ 2010-11-27 10:30
lauer
阅读(214)
评论(0)
推荐(0)
浙公网安备 33010602011771号