Files
ayanova7/source/WBI/AyaImage.ashx
2018-06-29 19:47:36 +00:00

28 lines
707 B
Plaintext

<%@ WebHandler Language="C#" Class="AyaImage" %>
using System;
using System.Web;
public class AyaImage : IHttpHandler, System.Web.SessionState.IReadOnlySessionState
{
public void ProcessRequest (HttpContext context) {
string idstring = context.Request.QueryString["id"];
Guid oID = Guid.Empty;
if (!string.IsNullOrEmpty(idstring))
oID = new Guid(idstring);
Util.WriteAyaImageToResponse(context.Response, oID);
// context.Response.ContentType = "text/plain";
//context.Response.Write("Hello World");
}
public bool IsReusable {
get {
return false;
}
}
}