ajax清除session的方法
[WebMethod]
public static string ClearSession()
{
HttpContext.Current.Session["FileUpload_Result"] = null;
HttpContext.Current.Session["FileUpload_Ext"] = null;
HttpContext.Current.Session["FileUpload_FileName"] = null;
HttpContext.Current.Session["FileUpload_FilePath"] = null;
return "[{\"jg\":true}]";
}
博客介绍了使用Ajax清除Session的方法,涉及前端与后端交互,利用Ajax技术实现对Session的清除操作,属于信息技术中前端与后端交互的内容。
9011

被折叠的 条评论
为什么被折叠?



