An HttpModule
is a perfect way to add an HTTP header to every request in IIS. An HttpModule
is an assembly that is called on every request (and as of IIS 7 this includes non-ASPNET requests). Other uses of HttpModule
s include tracing, logging, and security. We have a change coming up where having an HTTP header added to certain responses will be very helpful. I thought I would share my C# code for the HttpModule
and some JavaScript that will use the new HTTP header on the client to display a message.
Add an HTTP Header with an HttpModule
Posted on 2016-10-07 11:06:24 by Greg
Categories:
General
Recent Posts
- Programmatically Format Excel Cell Styles with LEADTOOLS
- Using the LEADTOOLS Excel Web Editor to Implement Functions
- Load an Existing Excel File and Programmatically Change Data with LEADTOOLS
- LEADTOOLS Version 23 is HERE - Overview of What's New!
- Capture it all with LEADTOOLS Multi-Capture Video Support
Categories
- Virtual Printer (2)
- General Imaging (18)
- Multimedia Imaging (35)
- HTML5 (19)
- Video Tutorials (5)
- Speech Recognition (1)
- Document Converter (8)
- Excel (4)
- Image Processing (9)
- Barcode (16)
- OCR (31)
- Analyzer (2)
- News (119)
- .net (4)
- File Formats (3)
- Recognition (2)
- PDF (24)
- Document Imaging (67)
- Annotations (5)
- Cloud Services (1)
- Forms Recognition and Processing (13)
- Medical Imaging (28)
- General (35)
- MICR (1)
- Web Scanning (1)
Tags
- Paperless Office (2)
- Medical Imaging (57)
- Cine (1)
- Credit Card (3)
- SD Times 100 (3)
- Intel Quick Sync Video (1)
- Document Imaging (109)
- Sony (1)
- OCR (103)
- Cloud (18)
- Text Overlay (1)
- XLS (1)
- Bates (1)
- MultiStreamSource (1)
- Swift (3)
- Houston (1)
- iPad (6)
- Micro QR (2)
- Web Editor (1)
- Document (7)
- EML (1)
- Product Review (4)
- ENT (2)
- CORS (1)
- VB.NET (1)
- Cross-Platform (4)
- study (1)
- Product Announcement (48)
- AFP (1)
- Print to PACS (3)
- Scanning (9)
- Vector Imaging (2)
- Bitonal (1)
- Documents SDK (5)
- h.264 (8)
- News (8)
- Scroll (1)
- SANE (1)
- Going Paperless (1)
- HEVC (1)
- topworkplaces (1)
- PST (1)
- 25 projects in 25 days (28)
- AnDevCon (3)
- Alignment (1)
- Windows 10 (1)
- SVCC (1)
- credit card reader (1)
- Windows (1)
- Discontinuity (1)
- LEADTOOLS (7)
- NVIDIA CUDA (1)
- medical web viewer (2)
- DICOM (67)
- Driver's License (6)
- PowerShell (3)
- .NETCore (3)
- LEADTOOLS Cloud Services (4)
- color reduction (1)
- Baseline Profile (1)
- Client (1)
- Jolt (1)
- AIIM Conference (2)
- Recognition (6)
- image conversion (1)
- HTML (2)
- Discount (1)
- Wang (2)
- Web Workers (1)
- NHIT (2)
- Dental (3)
- Push Mode (1)