471,072 Members | 1,219 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,072 software developers and data experts.

HttpModules order

I noticed in my Http modules that all the BeginRequests are handled for each
Module before the EndRequests is handled (at least that seems to be the
case).

I have 2 HttpModules each with BeginRequests and EndRequests.

<httpModules>
<add
type="NFission.WebControls.ScrollKeeperModule,NFis sion.WebControls.ScrollKeeper"
name="ScollKeeperModule" />
<add type="HttpModuleExamples.CustomHttpModule, HttpModules"
name="CustomHttpModule" />
</httpModules>

I put a breakpoint on all the events and the order seems to be to do the
BeginRequest of the first Module listed in the <httpModules> section
(NFission) and then the BeginRequest of the next section
(HttpModuleExamples).

Then it goes back to the beginning of the list and does the EndRequest of
the first Module listed in the <httpModules> section (NFission) and then the
EndRequest of the next section (HttpModuleExamples)

I assume this would be important if you are filtering a page with your
modules.

Just curious if I've got this right and do the HttpHandlers work in the same
way?

Thanks,

Tom.
Mar 3 '06 #1
0 1103

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Bogdan Fiedur | last post: by
11 posts views Thread by Markus Kling | last post: by
2 posts views Thread by tshad | last post: by
1 post views Thread by Anonieko | last post: by
2 posts views Thread by Mikael Syska | last post: by
3 posts views Thread by =?Utf-8?B?Tm9yZW1hYw==?= | last post: by
1 post views Thread by Samuel R. Neff | last post: by
5 posts views Thread by =?Utf-8?B?TUNN?= | last post: by
reply views Thread by leo001 | last post: by

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.