W
want 2 Learn
Guest
I am trying to do :
<%@ WebHandler Language="C#" Class="test1" %>
using System;
using System.Web;
using System.Xml;
using System.Net;
using System.Xml.Linq;
public class test1 : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
if (context.Request.InputStream != null)
{
System.IO.StreamReader stream = new System.IO.StreamReader(context.Request.InputStream);
string result = stream.ReadToEnd();
context.response.AppendToLog(result);
the result is not written to the log.
should i change something?
Continue reading...
<%@ WebHandler Language="C#" Class="test1" %>
using System;
using System.Web;
using System.Xml;
using System.Net;
using System.Xml.Linq;
public class test1 : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
if (context.Request.InputStream != null)
{
System.IO.StreamReader stream = new System.IO.StreamReader(context.Request.InputStream);
string result = stream.ReadToEnd();
context.response.AppendToLog(result);
the result is not written to the log.
should i change something?
Continue reading...