Browse by Tags

Related Posts

  • Re: I am having problems accessing session object in my custom HTTPHANDLER

    please let me know if i can use the cookieless session variables in HttpHandlers i have a class file where i declare a session variable and later i need to access that variable from my custom httphandler. Whenever the httphandler reads the any session variable it read a blank value.' i have even...
    Posted to HttpHandlers and HttpModules (Forum) by codetoad on 03-25-2009, 12:00 AM
    Filed under: http handler iis native images, Http Handler Worker Request cookies ProcessRequest, HTTP Handlers, http Handlers and modules, Http Handlers ClientScriptManager GetWebResourceUrl, HTTP Handlers Failing for Large Request, Http Modules, HttpContext, httphandler IsAuthenticated, HttpHandler Global.asax, HttpHandlers, HttpModule, iHTTPHandler "ASP Development Server", HTTP Handlers forms, HTTP Headers, HttpHandler BinaryWrite OutputStream, HttpHandler web.config sub directory path directories subdirectories, HTTPModules, httpException, HttpHandler, HttpHandler "ASP Development Server"
  • Content-Disposition header : not working fine with mobile device

    I use the following code to download a ringtone to a mobile phone ( Nokia 6300 ) . the problem is that the ringtone dosent get saved to the phone with the original name of the file which i have saved in the string variable "itemname", rather the file get saved with the name of the aspx page...
    Posted to Web Forms (Forum) by codetoad on 08-20-2008, 12:00 AM
    Filed under: NET mobile, page url, Server.Transfer vs Response.Redirect, Web Forms, .mobi, application error, AS.NET 2.0, As.NET2.0, as.NETp.net 2.0 C# expand, ASP .net 2.0 upload, ASP .net 3.0, ASp 2.0, asp .net 2.0, asp .net file system IO, browser, c#, contenttype, How do i get the filename in the fileUpload control?, httpcontext, HttpContext Custom Context, httpcontext.current, httphandler, httpmodule, httppwebrequest screen scrape, HTTTPResponse, mobile, mobile asp.net, Mobile asp.net Transfer control, mobile content, Mobile controls asp.net httpbrowsercapabilities ismobiledevice, Mobile Handheld Devices, Mobile List, MobileDownload, Response.ContentType, Response.write, adaptive rendering mobile device nokia, ASP .net.NET, ASP.NET 2.0, ASP.NET Mobile Controls, application state, System.IO, application blocks, httppost, mobile form, ASP.NET2.0 Mobile applications function keys, Response.ContentType application/vnd.ms-excel, Response.Write OutputCache
  • Saving a File from the HttpContext.Response in an HTTPModule

    I am trying to read a file from the response in an HTTPModule. Basically, I am trying to save the file, then later I will make some changes and serve back a different file. In order to read from the response stream, I have created a filter inheriting from the stream. objContext.Response.Filter = new...
    Posted to HttpHandlers and HttpModules (Forum) by sanfordm on 07-03-2008, 12:00 AM
    Filed under: asp.net 2.0, ASP.net 2.0 pipeline, Asp.net 2.0 response filters, handler, HTTP Handlers, http Handlers and modules, Http Handlers ClientScriptManager GetWebResourceUrl, HttpHandler, HttpHandlers, HttpModule, httpmodule source asp.net
  • TCP traffic (for chat server) on a shared virtual server - WebHost4Life. Page buffering/caching.

    I'm trying to imlpement a chat server in which the communication is done through an open socket connection. My server is on a shared hosting setup, and I can't recieve TCP listen requests. (Obviously, but I had to try) After I tested it anyways (sockets in asp.net), I decided that's I'd...
    Posted to HttpHandlers and HttpModules (Forum) by trellend on 04-25-2008, 12:00 AM
    Filed under: Multiple Websites, outputcache, socket error, streaming, HttpHandler, HttpHandler BinaryWrite OutputStream, HttpHandlers, HttpModule, HTTPModules, HttpResponse, Response.OutputStream
  • Re: Cancel HttpHandler

    Mybe instead of having the handler process every request you implement a module that examines the request and routes in appropriately. You can use the RewritePath method to rewrite the URL the appropriate URL. In the case of a bad request instead of cancelling the request you reroute it to a not in hear...
    Posted to HttpHandlers and HttpModules (Forum) by docluv on 12-07-2007, 12:00 AM
    Filed under: HttpHandler, HttpModule
  • Web Service(Using other sites)

    Hi all, i want use healthnotes from other site(aleready our client registered and get the permission from that site) i have all authentications to use that site healthnotes,and also given some script and usage guide. But my problem is how to use that given script , if any one used this conccept please...
    Posted to XML Web Services (Forum) by Shankar Naspuri on 11-17-2007, 12:00 AM
    Filed under: ASP.NET 2.0 HTTP Compression, ASP.NET 2.0 Request size, Asp.net 2.0 response filters, ASP.NET Request Filters, HTML, HTTP Handlers, Http Handlers ClientScriptManager GetWebResourceUrl, HTTP Handlers Failing for Large Request, http Handlers httpmodule ispostback, http post, HttpContext, HttpHandlerFactory, HttpHandlers, HttpModule, httpmodule redirect rewrite "client portal", HttpWebRequest, HttpWebRequest over https, HttpWebResponse, Application_BeginRequest, 404 HttpHandler Url Rewriting Virtual Path Providers XSLT XML document(), HTTP Headers, HttpHandler BinaryWrite OutputStream, HttpModule redirect request 404 log, HttpResponse, HttpWebRequest IfModifiedSince NotModified Exception, httpException, HttpHandler
  • Re: HTTPHandler vs HTTPModule for tracking sessions

    My suggestion is to keep your logic in the HttpModule, but you utilise the HttpHandler execution sequence to achieve your aims. Note this sample code is for pages only and you would have to customise with your own custom httphandler events to implement in other handlers: public class CustomModule: IHttpModule...
    Posted to HttpHandlers and HttpModules (Forum) by foreachbiscuit on 11-01-2007, 12:00 AM
    Filed under: HttpHandler, HttpModule
  • Securing documents generates web.config-error

    I try to hide documents from non-logged-in users. I got a directory (/HiddenDocuments) where I got some secret documents. If I try to load a file from this directory and is not logged in, I will be redirect to a login page, which is great. My problem is when I try to load a file from another place (not...
    Posted to Security (Forum) by Aimit on 06-08-2007, 12:00 AM
    Filed under: role, ASP.NET, ASP.NET 2.0, HttpHandler, HttpModule, Web.config
  • Problem reading binary/pdf data

    Hello, I am a novice ASP developer. I have a problem in reading the response data from webresponse. Here is the code. I am in very crucial time in delivering the project. Could anybody help, It wil be greatly apprciated, The below is the code I am trying on. It opens Pdf reader with blank pages, Please...
    Posted to HttpHandlers and HttpModules (Forum) by ASP321 on 04-04-2007, 12:00 AM
    Filed under: Problem reading binary/pdf data, HTTP Handlers, http post, HttpHandler, HttpHandler BinaryWrite OutputStream, HttpHandlerFactory, HttpModule, HttpPipeline, HttpResponse, HttpWebRequest, HttpWebResponse
  • .Axd URLs not using ASP.NET 2.0 Authentication?

    We have developed an ASP.NET 2.0 application that uses MS AJAX, has controls that use WebResources.axd, and has a custom HttpHandler. This application works fine locally or on a server on our network. However, when I publish it to our client's server, all calls to WebResources.axd, AJAX's *.axd, and...
    Posted to Security (Forum) by boatboy on 03-21-2007, 12:00 AM
    Filed under: security, ajax, HttpHandler, HttpModule, .axd
Page 1 of 2 (18 items) 1 2 Next >