在我们的项目中,我context.Session["StackImgInsert"]="some string"在 asp.net 处理程序(.ashx 页面)中分配。
现在我想Session["StackImgInsert"]=null 在 ASP 页面 (.aspx) 中读取 的值Session["StackImgInsert"],然后它显示为null。
谁能告诉如何从处理程序中读取会话并将其设为空。
在我们的项目中,我context.Session["StackImgInsert"]="some string"在 asp.net 处理程序(.ashx 页面)中分配。
现在我想Session["StackImgInsert"]=null 在 ASP 页面 (.aspx) 中读取 的值Session["StackImgInsert"],然后它显示为null。
谁能告诉如何从处理程序中读取会话并将其设为空。