473,699 Members | 2,813 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HTTPModule and ISAPI

Hi,

I have setup a Sharepoint 2003 server which has an ISAPi filter installed,
now I want to develop a HTTPModule which needs to run before the ISAPI
filter. So my question is, if a HTTPModule and an ISAPI filter are installed
on the same web virtual directory, which one will process first?

Thanks in advance.
Aug 24 '06 #1
2 1964
hi,
as far as i know, the ISAPI filter will always run before any .Net
HttpModules defined in your web.config.
this is because .Net doesn't even come into play until IIS has handed over
the request to it, after running the ISAPI filters installed on the web
site, and all the other IIS functions, authentication etc.

hope this helps
tim

--------------------------
blog: http://tim.mackey.ie

"Sheila" <Sh****@discuss ions.microsoft. comwrote in message
news:8E******** *************** ***********@mic rosoft.com...
Hi,

I have setup a Sharepoint 2003 server which has an ISAPi filter installed,
now I want to develop a HTTPModule which needs to run before the ISAPI
filter. So my question is, if a HTTPModule and an ISAPI filter are
installed
on the same web virtual directory, which one will process first?

Thanks in advance.

Aug 24 '06 #2
Sheila,

ISAPI filter will process first and then the httpmodules.

Regards,
Augustin
http://augustinprasanna.blogspot.com

"Sheila" wrote:
Hi,

I have setup a Sharepoint 2003 server which has an ISAPi filter installed,
now I want to develop a HTTPModule which needs to run before the ISAPI
filter. So my question is, if a HTTPModule and an ISAPI filter are installed
on the same web virtual directory, which one will process first?

Thanks in advance.
Aug 24 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
939
by: Peter Row | last post by:
Hi, Just in case anyone else has the following issue (unlikely but you never know) here is the solution I eventually found after I was threatening myself with a wipe and reload of my laptop. VB6 to VB.NET web project Port. We wanted all the code to run under .NET However we use an ISAPI filter. According to posts my Microsoft bods it is not possible to write these in .NET.
2
2594
by: don smolen | last post by:
I know that we can perform authentication of .aspx pages with an HttpModule, and that the same module can probably be used for static content (.htm, .jpg, etc.) by sending them through the ASP.Net pipeline. Can this approach be extended to include non-ASP.Net dynamic pages such as .asp and .jsp? I can't see any way to get ASP.Net to process an asp page when IIS is sending it to asp.dll, and if I send it to aspnet_isapi.dll, how will asp ever get...
1
1647
by: Ryan Cromwell | last post by:
I have written an httpModule for use in our test environment. If a user goes to http://testserver/SomeApplication/MyPage.aspx it will resolve to the latest version of that application deployed: http://testserver/SomeApplication.1.0.10.0/MyPage.aspx, for instance. Problem is, the httpModule doesn't get called because http://testserver/SomeApplication doesn't exist. I assume this is because IIS is spitting it back, but I am not sure. ...
4
6195
by: | last post by:
I have earlier used an HttpModule that did URL rewrites on the BeginRequest event. Now I am trying to use the same module in a different application on a new and upgraded machine (winxp sp2). The Module is registered via Web.config. The registration is OK. When asking for an existing .aspx page, the eventhandler is called as it should. HOWEVER - if the request url is for a non-existant file, I get a 404 - file
5
1409
by: Raj | last post by:
Hi there, I have written a small httpmodule which basically scan the incoming request on a perticular domain and pass the url based on mappings. more like a url rewriter e.g. http://www.abc.com/joe.block/index.html will actully be mapped to c:\root\docs\somedir\joeblocks\index.html for this HttpModule to take effect I have done the wildcard mapping on main folder but I want to allow to have classic asp pages in one of
3
2879
by: Adam | last post by:
Its my understanding that in asp.net 2.0 you can write an httpmodule that will acts as a wildcard handler and pass requests on to the proper engine, for instance, asp or perl for example, In the past I believe if it wasn't an aspx file, things didnt work right. Can anyone provide input if this really is the case now?
1
2038
by: nsyforce | last post by:
Can you change the domain name in an HTTPModule? I have seen examples of changing the relative url in an HTTP Module, such as the following: protected void AuthenticateRequest(object sender, EventArgs e) { HttpApplication app = (HttpApplication) sender; HttpContext objContext = (HttpContext) app.Context; objContext.RewritePath("mynewpage.aspx"); } However, I'd like to take a request from
1
1899
by: Faraz | last post by:
Hi everyone, I am running into a slight problem. My understanding is that a custom HttpModule will run for every request made to the server, regardless of the extension. I do not experience this behavior. My module only runs for the extensions handled by the aspnet_isapi.dll. Here are my sequence of steps: 1) Create the HttpModule 2) Compile and drop dll in the webApp bin directory.
0
1412
by: Thomas | last post by:
in .net 1.1 we successfully use a HttpModule to catch 404 / 403.1 html errors. after migrating to .net 2.0, this modules is broken in a very, very strange way. we have defined a wildcard applicatio mapping to the .net 2.0 isapi dll: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll with "check if file exists" disabled. the HttpModule "RedirectMissing" is called upon every request to the
0
8687
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9174
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8884
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7751
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5875
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4376
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4629
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2347
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2009
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.