Browse by Tags

Related Posts

  • SerializationException when Casting Context.User to my Custom Principal object

    I'm getting this error randomly on my site: Exception Details: System.Runtime.Serialization.SerializationException: Type is not resolved for member 'Authentication.CustomPrincipal,OrchidAuthentication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. By random meaning I can surf around...
    Posted to Security (Forum) by sontek on 09-08-2006, 12:00 AM
    Filed under: IPrincipal, HttpModule, IIDentity
  • Exception Handling

    I have an HttpModule to handle logging for my web application, but every error gets logged as the following: Exception of type 'System.Web.HttpUnhandledException' was thrown. Which is pretty useless when I know an actual exception was thrown. Here's what I'm doing on my Application_Error...
    Posted to HttpHandlers and HttpModules (Forum) by delorenzodesign on 09-22-2006, 12:00 AM
    Filed under: HttpModule, Error Log, Log, Exception Handling
  • Re: HttpModule's BeginRequest event

    Hi. During each request the BeginRequest and EendRequest events are fired only once. The number of WebControls you have in a page handler doesn't influence in any way the firing of events in the HTTP Pipeline. The only reasonable explanation I find to your problem, the breakpoints being hit several...
    Posted to HttpHandlers and HttpModules (Forum) by lfalcao on 09-23-2006, 12:00 AM
    Filed under: HttpModule
  • Re: problem with httpmodules

    Hi raghuraman_ace. What you want to do is not possible in ASP.NET applications. Http modules have application scope. This means that http modules are defined at application level, and can not be "undefined" for some urls inside the application. Once the application starts (on first client access...
    Posted to HttpHandlers and HttpModules (Forum) by lfalcao on 09-25-2006, 12:00 AM
    Filed under: HttpModule
  • HttpModule and file upload

    Hi, I wrote a HttpModule to handle file uploads (on beginRequest) prior to the actual web form (normal page handler) displaying the result. The file upload processing generally works very well also for large files (I'm using HttpWorkerRequest methods to read the file into byte arrays), however, it may...
    Posted to HttpHandlers and HttpModules (Forum) by andy::: on 11-21-2006, 12:00 AM
    Filed under: HttpModule
  • HttpModules and IIS 5

    Hi, I tried to run a simple HttpModule from the Wrox Book Professional ASP.NET 2.0 The code is pretty simple. It is supposed to add a line of text to each outgoing page. 1 Imports Microsoft.VisualBasic 2 Imports System.Web 3 4 Public Class AppendMessage : Implements IHttpModule 5 6 Dim WithEvents _application...
    Posted to HttpHandlers and HttpModules (Forum) by wombel on 11-30-2006, 12:00 AM
    Filed under: HttpModule, asp.net 2.0
  • How to get length in bytes of page sent back to client by http request (I need this done in my HTTPModule)

    Hi, First of all, I am new to ASP.NET. I want to get the byte count of the content sent back to the client for each http request. The reason for this is that we are not using IIS Web Log files for Web Logging so I have to write an HTTPModule for this task. I am using VB.NET with Visual Studio 2003 ....
    Posted to HttpHandlers and HttpModules (Forum) by ronb1191 on 12-08-2006, 12:00 AM
    Filed under: HttpModule
  • Difficulties figuring out how to initiate download of files after their creation

    Hi, I have a collection of files which are constantly being created on a remote server, but not uploaded to my web server until requested by a client. When a client requests a file, I want to pull it onto my web werver, whilst checking for it's creation using a FileSystemWatcher. Once it is created,...
    Posted to HttpHandlers and HttpModules (Forum) by kreid on 12-15-2006, 12:00 AM
    Filed under: HttpModule, HttpHandlerFactory, HttpHandler, HttpPipeline, HttpWebRequest IfModifiedSince NotModified Exception, asp.net 2.0
  • Returning win32status code for Web Logging using HTTPModule

    Hi, I want to get the win32status code ( sc-win32-status ) for each http request like what you would see when reading an IIS Log file created using the W3C Extended Log Format. I have figured out how to get the HTTPStatusCode (like 200 for success using Response.StatusCode ). The reason for this is that...
    Posted to HttpHandlers and HttpModules (Forum) by ronb1191 on 12-15-2006, 12:00 AM
    Filed under: HttpModule, Log, iis
  • Re: Difficulties figuring out how to initiate download of files after their creation

    Hi JJ, Thanks for your reply. I now have a clearer idea of how I am goiong to tackle this. You are correct that the web is stateless, and therefore, if the user navigates away from the "Download_Request" page, there is nothing I can do to let them download the file, since that particular Request-Response...
    Posted to HttpHandlers and HttpModules (Forum) by kreid on 12-15-2006, 12:00 AM
    Filed under: HttpModule, HttpHandlerFactory, HttpHandler, asp.net 2.0, HttpWebRequest, javascript, HttpResponse, Session, download
Page 1 of 8 (74 items) 1 2 3 4 5 Next > ... Last ยป