Web C Plus Plus http://webcpp.sourceforge.net//-----------------------file: Class1.cs ------ --- Using System; Using System.Web; Namespace Customhttphandler {/// /// Class1 Summary Description. /// summary> public class class 1: system.Web.ihttphandler {public class1 () {// // Todo: Add constructor logic //} #Region Ihttphandler member public void processRequest (httpContext context) { // Todo: Add class1.processRequest implementation // string strrefurl = context.request.serverVariables ["http_refer"]; / * Insert your own code, read the contents of the file and populate the response, this example is only simply returns an error message * / Context.Response.write ("You cannot access this page");} public bool isreusable {get {// Todo: Add class1.isreusable getter implementation return false;}} #ENDREGON}} // ------- ---------- File: End ------------------------------------- -----------