Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9013109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:10:40+00:00 2026-06-16T03:10:40+00:00

I have ASP.NET MVC 4 with an HttpModule. I am aware that module’s Init

  • 0

I have ASP.NET MVC 4 with an HttpModule. I am aware that module’s Init method may be called several times, once for each HttpApplication object, but I expect the actual BeginRequest event to fire only ONCE for each incoming web request. That’s not what’s happening.

I noticed that BeginRequest consistently fires twice for a simple POST I am sending to the server. I am sure I am sending only one request — there are no images.

Why would BeginRequest be called multiple times for a simple POST to the server?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T03:10:42+00:00Added an answer on June 16, 2026 at 3:10 am

    Its fire on every request, it may be images, scripts, handlers, pages, what ever.

    If you debug and step on it you can see what files calls it. You can also place this line inside to see what is calling it live.

    Debug.Write("call from: " + HttpContext.Current.Request.Path);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET MVC application that uses Fluent NHibernate and AutoMapper. I am
I have an ASP.NET MVC application, with some RESTful services that I'm trying to
I have asp.net mvc intranet site that is deployed to IIS6. Site is used
I have this ASP.NET MVC app that I've deployed on IIS6/Win2003 as a virtual
I have an ASP.NET MVC 2 app that uses URLS such as: /rsvp/33c4cf68-a2fe-4c0f-9834-08838e0532c3 /rsvp/4f28dad7-b05c-4887-818f-b4ae664b7192
I have Asp.Net MVC 3 site that has SSL on entire site. I do
I have ASP.NET MVC controller named dictionary with method ControlsLangJsFile. Method returns view of
I have asp.net mvc 3 site deployed on shared hosting. My problem is that
I have asp.net mvc application, that uses razor view engine. I want to send
I have asp.net mvc 4 web application project on my server in IIS Directory.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.