复制代码 代码如下:
<%@ WebHandler Language="C#" %>
using System;
using System.Web;
using System.Web.SessionState;
public class ChangePwd : IHttpHandler, IReadOnlySessionState
{
public void ProcessRequest (HttpContext context)
{
context.Response.ContentType = "text/plain";
OperUser ou = new OperUser();
if (ou.ChangeWsPassword(context.Session["ws_user"].ToString(),context.Request.QueryString["pwd"].ToString()))
{
context.Response.Write("true");
}
else
{
context.Response.Write("flase");
}
}
public bool IsReusable {
get {
return false;
}
}
}
新闻热点
疑难解答
图片精选