ihttphandler
Session variable getting lost using Firefox, works in IE
I am setti开发者_如何学编程ng a Session variable in an HttpHandler, and then getting its value in the Page_load event of an ASPX page.I\'m setting it using[详细]
2022-12-28 08:04 分类:问答Default action for http handler?
I\'m working on setting up a site that controls 开发者_如何学Goaccess to a directory for downloads using an ihttpmodule. Since the files are all zip, exe, rar, and so on, the default handler isn\'t be[详细]
2022-12-28 07:33 分类:问答Does ASP.net 1.1 support Generic HttpHandlers?
I need to get an image from a SQL Server as a byte[], and load it to a WebControl.Image. The only seemingly good way to do it that I found is to implement IHttpHandler and handle the request according[详细]
2022-12-26 17:04 分类:问答Why is IHttpAsyncHandler being called over IHttpHandler?
I made a custom handler that derives from MvcHandler.I have my routes using a custom RouteHandler that returns my new handler for GetHttpHandler(), and I override ProcessRequest() in my custom handler[详细]
2022-12-26 12:42 分类:问答XML Parseing Error when serving a PDF
I\'m trying to serve a pdf file from a database in ASP.NET using an Http Handler, but every time I go to the page I get an error[详细]
2022-12-26 12:38 分类:问答Web.Routing for the site root or homepage
I am doing some work with Web.Routing, using it to have friendly urls and nice Rest like interfaces to a site that is essentially rendered by a single IHttpHandler. There are no webforms, the handler[详细]
2022-12-25 04:16 分类:问答ihttphandler to write out file exactly as is
I am writing a class that inherits from IHttpHandler for script and css combining. I onl开发者_开发知识库y want to combine if the querystring has a special parameter defined. If this parameter is not[详细]
2022-12-22 18:45 分类:问答Webclient using download file to grab file from server - handling exceptions
I have a web service in which I am manipulating POST and GET methods to facilitate upload / download functionality for some files in a client/server style architecture. Basically the user is able to c[详细]
2022-12-22 18:34 分类:问答Add my own page extension in asp.net
I am trying to add page with custom extension, say .asp2 with my set of html tags. Now whenever i try to access the page on browser...it asks me \"Save as\". This happens because I am using an extn wh[详细]
2022-12-22 07:39 分类:问答Conditional HttpHandler: how to make certain requests return the default response?
I\'m working on an IHttpHandler implementation which will handle all *.gif files. The Handler itself will have code in it to check whether the *.gif files are requested from a certain URL. If this is[详细]
2022-12-18 01:12 分类:问答