Tag : Read or Write Session value on HTTP Handler file (.ashx)

Home » Posts tagged Read or Write Session value on HTTP Handler file (.ashx)"

<%@ WebHandler Language="C#" Class="Handler" %> using System; using System.Web; using System.Web.SessionState; public class Handler : IHttpHandler , IReadOnlySessionState , IRequiresSessionState { public void ProcessRequest (HttpContext context) { context.Response.ContentType = "text/plain"; context.Response.Write("Hello World"); } public bool IsReusable { get { return false; } ..

Read more