httpModules

This is a discussion on "httpModules" within the ASP.NET Forum section. This forum, and the thread "httpModules are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > ASP.NET Forum

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 6th, 2003, 05:35
New Member
Join Date: Oct 2003
Location: India
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
httpModules

In an asp.net web application i am using a HttpModule to intercept a request for a particular file so that i can
manipulate requests and responses as they enter or exit IIS.The HTTP Module is deployed in web.config
using

<httpModules>
<add type="Tracker.Request1,Tracker" name="Tracker" />
</httpModules>

The Http Module is working fine, but i have a doubt can we wrap this htppmodule in a <location> so that it is executed for

the request for files in a particular folder

  #2 (permalink)  
Old Nov 6th, 2003, 05:59
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
I am not 100% sure what you are trying to do here, but maybe you can implement something via the web.config file in the directory you want to protect:-

An ASP.NET server may (or may not) have a machine.config file which represents the basis upon which inheritance begins.
Multiple configuration files, all named Web.config, can appear in multiple directories on an ASP .NET Web application server.
Each Web.config file applies configuration settings to its own directory and all child directories below it.
Configuration files in child directories can supply configuration information in addition to that inherited from parent directories and from the machine.config file.
Child directory configuration settings can override or modify settings defined in parent directories and the machine.config file.

Hope this helps get you started.
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
Closed Thread

Tags
httpmodules

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 00:16.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43