Example:
<![CDATA[<%@ WebHandler Language="C#" Class="AddGiftToRegistryImageHandler" %>
using System;
using System.Web;
public class AddGiftToRegistryImageHandler : IHttpHandler, System.Web.SessionState.IRequiresSessionState
{
public void ProcessRequest(HttpContext context)
{
string Name = "";
if (context.Session["Name"] != null)
Name = context.Session["Name"];
context.Response.ContentType = "text/plain";
context.Response.Write(Name);
}
public bool IsReusable
{
get
{
return false;
}
}
}