摘要: 有三点需要注意:1.命名空间中要加入using System.Web.SessionState;2.接口名要加入IRequiresSessionState或IReadOnlySessionState;3.不管是Session还是QueryString都要通过HttpContext来获取。具体代码如下:<%@ WebHandler Language="C#" Class="UploadHandler" %>using System;using System.IO;using System.Net;using System.Web;using S 阅读全文
posted @ 2011-05-03 16:14 陆宗轩 阅读(2284) 评论(3) 推荐(1) 编辑