<rss version="2.0" xmlns:dn247="http://www.dot-net-guru.com/schemas/rss"><channel><title>.Net Guru: ASPFriends.com 'aspnghttphandlers' list</title><link>http://www.dot-net-guru.com/247reference/__site/153</link><description>ASPFriends.com 'aspnghttphandlers' list on .Net Guru.</description><generator>.Net Guru/WinFX 247 RSS Generator</generator><dn247:id>153</dn247:id><item><title>Access session from inside HttpHandler (3 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/13/67881.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/13/67881.aspx</guid><pubDate>28 Aug 2004 13:33:20</pubDate><description>Hi, I'm using a HttpHandlerFactory to produce my pages, however, I'd like to be able to use HttpContext.Current.Session in my GetHandler function, as below. However, the HttpContext.Current.Session 3D 3Dnull. Do you know a work around, or is it impossible? public class MyHandlerFactory : IHttpHandlerFactory { public virtual IHttpHandler GetHandler(HttpContext context, String requestType, String ur...</description><dn247:id>67881</dn247:id><dn247:siteId>153</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>how to invoke PageHandlerFactory from an HttpHandler? (5 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/2/11004.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/2/11004.aspx</guid><pubDate>16 Apr 2004 23:23:14</pubDate><description>PageHandlerFactory does not have a public constructor and it's killing me. In IIS config, I have redirected all requests (extension *) to the .net framework. I have an HttpHandler set to handle all such requests. Now I want that handler to do some thinking, then assign the processing to an .aspx page. I know how to assign the processing to a code only page (just call ProcessRequest from the IHttpH...</description><dn247:id>11004</dn247:id><dn247:siteId>153</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>rolling my own Session object (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/26/131046.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/26/131046.aspx</guid><pubDate>17 Jul 2002 14:28:00</pubDate><description>hey there, is it possible to rip out the guts of the Session object and replace it with my own functionality? Ideally, the calling convention for my clients (the aspx pages, other http handlers) wouldn't change, they'd just keep on using the session object. can this be done? b </description><dn247:id>131046</dn247:id><dn247:siteId>153</dn247:siteId></item><item><title>Cannot access HttpResponse.OutputStream (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/24/123340.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/24/123340.aspx</guid><pubDate>07 Jul 2002 22:47:09</pubDate><description>Can anyone tell me why I cannot access the HttpResponse.OutputStream in the Application EndRequest event. I want to get all the data in the Response object so I can compress it. However, I keep getting a Exception Details: System.NotSupportedException: Specified method is not supported. best Marsh</description><dn247:id>123340</dn247:id><dn247:siteId>153</dn247:siteId></item><item><title>HTTp Module vs Global.asax (4 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/21/106583.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/21/106583.aspx</guid><pubDate>05 Jun 2002 12:51:05</pubDate><description>Hello All, I have a doubt about when to use Http Module as against global.asax. I understand that HttpModule is invoked before global.asax. And also in web.config, why does the tab add tab in httpmodules does not have a &amp;amp;quot;path&amp;amp;quot; like the one for httphandlers . Thanks in advance, Muralidhar ********************************************************************** To be without some of the things you wan...</description><dn247:id>106583</dn247:id><dn247:siteId>153</dn247:siteId></item><item><title>Changing Session state per user (19 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/20/104670.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/20/104670.aspx</guid><pubDate>05 Jun 2002 12:51:05</pubDate><description>I want to be able to develop a function that tests to see if a visitor to a website has cookies enabled or not and then get it to change the cookieless attribute of the sessionState dynamically to what's appropriate for the user. I am using Forms Authentication for part of the site and it has to work for all users. I know I could just set cookieless to true, however this results in messy URLs and ...</description><dn247:id>104670</dn247:id><dn247:siteId>153</dn247:siteId></item><item><title>How to... (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/19/96754.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/19/96754.aspx</guid><pubDate>08 May 2002 03:57:00</pubDate><description>This is a multi part message in MIME format. NextPart 000 0010 01C1F5E7.C626DA10 Content Type: multipart/alternative; boundary &amp;amp;quot; NextPart 001 0011 01C1F5E7.C626DA10&amp;amp;quot; NextPart 001 0011 01C1F5E7.C626DA10 Content Type: text/plain; charset &amp;amp;quot;us ascii&amp;amp;quot; Content Transfer Encoding: quoted printable I want to enable my site for better indexing through search engines, etc. What I want is something like: http...</description><dn247:id>96754</dn247:id><dn247:siteId>153</dn247:siteId></item><item><title>IsReusable behaviour (3 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/14/72453.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/14/72453.aspx</guid><pubDate>29 Mar 2002 15:53:33</pubDate><description>The documentation states the IsReusable method turns on object pooling. What does this mean, exactly? If I were to put a field into an HttpHandler that returns true for IsResuable, is that field guaranteed to be available for all subsequent requests to the handler until the server is restarted? Dan Green [ http://dotnetdan.com putting the dan in .net ] </description><dn247:id>72453</dn247:id><dn247:siteId>153</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Running an ASPX page programmatically (7 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/14/71139.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/14/71139.aspx</guid><pubDate>25 Mar 2002 23:22:27</pubDate><description>Moved from [aspngarchitecture] to [aspnghttphandlers] by Charles M. Carroll charlesmarkcarroll@yahoo.com Hi, I'm having a problem that I'm hoping someone can help me with. Here is the scenario: I have build a web module that intercepts any call to an ASPX file. So if you call x.aspx the module gets the request and rewrites the path to go to y.aspx with a querystring that says y.aspx?url x.aspx Thi...</description><dn247:id>71139</dn247:id><dn247:siteId>153</dn247:siteId></item><item><title>Has a handler been added to the web.config ? (2 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/13/67883.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/13/67883.aspx</guid><pubDate>16 Mar 2002 14:24:00</pubDate><description>Is there some way to programatically determine whether a handler has been added to the web.config file ? I have some code that needs a custom handler and I'd like to display a friendly and helpful error message if the handler hasn't been installed. Michael Lang MS.NET Developer www.michaellang.com.au</description><dn247:id>67883</dn247:id><dn247:siteId>153</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>IhttpModule and 404 Not found (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/10/54169.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/10/54169.aspx</guid><pubDate>19 Feb 2002 11:16:45</pubDate><description>How could I catch 404 Not Found error in asp.net 20 within a IHttpModule? Aurelian POPA </description><dn247:id>54169</dn247:id><dn247:siteId>153</dn247:siteId></item><item><title>Return an aspx page in an HttpHandler? (15 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/8/41630.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/8/41630.aspx</guid><pubDate>19 Feb 2002 01:16:27</pubDate><description>Copied from [aspngfreeforall] to [aspnghttphandlers] by Charles M. Carroll charlesmarkcarroll@yahoo.com Hi, I want to return an aspx page to the browser in an HttpHandler. I'd like to be able to change some stuff in my instance on the Page object before it gets processed. 46or example look at my made up code below, which illustrates what I want to do... public class UserControlHandler : IHttpHandl...</description><dn247:id>41630</dn247:id><dn247:siteId>153</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Adding a handler at runtime (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/10/54034.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/10/54034.aspx</guid><pubDate>18 Feb 2002 00:24:00</pubDate><description>Instead of adding a handler via an entry in the web.config file. Is it possible to add a httphandler in code at runtime ? If so how is it done ? Michael Lang MS.NET Developer http://www.michaellang.com.au</description><dn247:id>54034</dn247:id><dn247:siteId>153</dn247:siteId></item><item><title>Rewrite URL (3 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/8/44347.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/8/44347.aspx</guid><pubDate>29 Jan 2002 17:06:36</pubDate><description>I remember a presentation about HTTP Runtime capabilities and the speaker mentioned the capability of rewriting URLs. I have dug through all of the Release documentation and I am not sure how best to do this. Any pointers? I thought I could create a HTTPHandler for all file types, but can I access AND modify the HttpContext? Bryan </description><dn247:id>44347</dn247:id><dn247:siteId>153</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Serialization of requests to the same HttpHandler (2 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/7/37585.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/7/37585.aspx</guid><pubDate>15 Jan 2002 20:47:00</pubDate><description>Hi, I have written an HttpHandler which serves images from the database. The handler works perfectly, with the exception of the fact that multiple requests to the handler are serialized. Since there are sometimes a few such images on a web page, the pages take quite some time to complete (on the client side). I have totally deactivated session state for this web app in the web.config, so i would h...</description><dn247:id>37585</dn247:id><dn247:siteId>153</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Web.config and setting up virtual subdirectories (2 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/4/24329.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/4/24329.aspx</guid><pubDate>23 Nov 2001 14:48:00</pubDate><description>Dear all, I want to arrange a situation such that a given path goes to a given http handler, and all its subdirectories, for example http://myserver/index.html goes to normal file http://myserver/whatever.aspx handled as ASPX file http://myserver/htest/x Goes to handler http://myserver/htest/x/y/z/anything/else/at/all also goes to handler I have succeeded in making http://myserver/htest/anything g...</description><dn247:id>24329</dn247:id><dn247:siteId>153</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Separating content rendering in BeginRequest/EndRequest (3 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/4/22204.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/4/22204.aspx</guid><pubDate>20 Nov 2001 00:12:12</pubDate><description>Application BeginRequest and EndRequest offer an easy way to create headers and footers across a suite of pages (gotta love the asp.net runtime). The issue I have is that the output to be rendered is currently contained in code, with a bunch of Context.Response.Write methods. Instead of code, I'd like to have the content to be rendered stored in a an .aspx like file. Is this an easy thing to do? A...</description><dn247:id>22204</dn247:id><dn247:siteId>153</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>How to handle all extensions (6 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/2/11015.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/2/11015.aspx</guid><pubDate>20 Oct 2001 04:46:14</pubDate><description>I'd like to make my httphandler customize the processing of all requests within a folder. The only way I found was to make the folder an application in IIS and to let the aspnet isapi.dll handle the .* extension. (Removing all other isapi extensions) This makes me lose my session content when redirected from the application above. Anyone knows if this could be done without losing session content? ...</description><dn247:id>11015</dn247:id><dn247:siteId>153</dn247:siteId></item><item><title>Trouble with HttpHandlers section in web.config (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/2/11013.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/2/11013.aspx</guid><pubDate>14 Oct 2001 10:14:34</pubDate><description>Moved from [aspngvs] to [aspnghttphandlers] by TrollHunter This is a multi part message in MIME format. NextPart 001 01C14545.77296220 Content Type: text/plain; charset &amp;amp;quot;us ascii&amp;amp;quot; Content Transfer Encoding: quoted printable I am trying to catch requests for *.exe files or possibly requests for a certain file path (e.g. */downloads/*). Here's my problem: If I use: add verb 3D&amp;amp;quot;*&amp;amp;quot; path 3D&amp;amp;quot;*.exe&amp;amp;quot; type...</description><dn247:id>11013</dn247:id><dn247:siteId>153</dn247:siteId></item><item><title>Hosting ASP.NET in a command line app (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/2/11011.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/2/11011.aspx</guid><pubDate>14 Oct 2001 10:14:33</pubDate><description>I've just tried (and succeeded) in hosting ASP.NET in a command line app using code that has been previously provided by Scott G. It's all very cool. However, to get it working in beta 2 I had to copy the assembly into a subdirectory called bin. Without it, fusion.dll can't resolve the assembly. Is there a way I can get ApplicationHost.CreateApplicationHost to not look for the assembly in a bin su...</description><dn247:id>11011</dn247:id><dn247:siteId>153</dn247:siteId></item><item><title>Request procesor ... (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/2/11007.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/2/11007.aspx</guid><pubDate>14 Oct 2001 10:14:33</pubDate><description>I want to implememt the following: 1. when a user request let's say http://mysite.com/somefolder/page , my handler must search for a directory called page, and then for a page called page.aspx, and then for a page called page.asp and finally for a page named page.html or page.htm (maybe even a configurable feature for specifying order of seacrh is welcomed) 2. if my root of site is located at c:\i...</description><dn247:id>11007</dn247:id><dn247:siteId>153</dn247:siteId></item><item><title>Request Handlers, Executing Handler AND Getting requested resource (5 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/2/10998.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/2/10998.aspx</guid><pubDate>14 Oct 2001 10:14:31</pubDate><description>This message, which was originally sent to &amp;amp;quot;aspngbeta&amp;amp;quot;, has been moved to &amp;amp;quot;aspnghttphandlers&amp;amp;quot; mailing list by the List Master Hello, I thought of using Request Handlers to be able execute some pre processing code whenever a given page type is requested (ie .aspx). It seems that if I implement a handler for all .aspx files in a web, the handler will execute, but the requested .aspx will not. I am l...</description><dn247:id>10998</dn247:id><dn247:siteId>153</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Sample HttpHandler Code (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/2/10997.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/2/10997.aspx</guid><pubDate>14 Oct 2001 10:14:30</pubDate><description>This message, which was originally sent to &amp;amp;quot;aspngbeta&amp;amp;quot;, has been copied to &amp;amp;quot;aspnghttphandlers&amp;amp;quot; mailing list by the List Master Hello, Does anyone have a sample code for a custom HttpHandler class? Upon compiling the following: Public Class MyHttpHandler 20 Implements System.Web.HttpHandler 20 Public Readonly Property IsReusable() As Boolean 20 Get 20 Return True 20 End Get 20 End Property 20 09 Pu...</description><dn247:id>10997</dn247:id><dn247:siteId>153</dn247:siteId></item><item><title>Custom handler for Sessions (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/2/11010.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/2/11010.aspx</guid><pubDate>18 Aug 2001 20:34:00</pubDate><description>I had posted this earlier on aspngfreeforall but did not get any answers I was hoping I would get some out here Hi All, I am thinking of writing a Custom Module to take care of my Sessions. This is because we want to store our Session information in a database and since Oracle is our corporate standard, we cannot use the functionality of the ASP.NET Session to store data in a SQL Server database. ...</description><dn247:id>11010</dn247:id><dn247:siteId>153</dn247:siteId></item><item><title>A question.... (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/2/11008.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/2/11008.aspx</guid><pubDate>02 Aug 2001 09:51:00</pubDate><description>Hiya! If I have a aspx page in a directory, call it.... http://www.mysite.com/news/index.aspx To show current news, and I can already handle.... http://www.mysite.com/news/index.aspx?article 350 Then how can I set it up so that.... http://www.mysite.com/news/350/ Will call the index.aspx page with an argument for the rest of the URL? I know I might have to change the code in index.aspx, that's fin...</description><dn247:id>11008</dn247:id><dn247:siteId>153</dn247:siteId></item><item><title>HttpModule Information required (2 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/2/11001.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/2/11001.aspx</guid><pubDate>15 Jun 2001 19:59:00</pubDate><description>This message, which was originally sent to &amp;amp;quot;aspngbeta&amp;amp;quot;, has been moved to &amp;amp;quot;aspnghttphandlers&amp;amp;quot; mailing list by the List Master I am trying to learn more about HttpModules. Can someone point me to articles/tutorials. Ramya Do You Yahoo!? Spot the hottest trends in music, movies, and more. http://buzz.yahoo.com/ </description><dn247:id>11001</dn247:id><dn247:siteId>153</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Session object in a IhttpHandler (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/2/11000.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/2/11000.aspx</guid><pubDate>03 Jun 2001 22:16:00</pubDate><description>Hi, all I ve tried to use a session object in IhttpHandler but the system resulted an error. Why? Thanks</description><dn247:id>11000</dn247:id><dn247:siteId>153</dn247:siteId></item></channel></rss>