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

  • Home
  • SEARCH
  • 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 8263805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:13:42+00:00 2026-06-08T04:13:42+00:00

I have a ASP .Net web-application running on IIS 7/Win2K8 Standard. What I would

  • 0

I have a ASP .Net web-application running on IIS 7/Win2K8 Standard.

What I would like help with :

As a user makes a request on the client side (browser), I want to examine the request object on the server as soon as it arrives (for logging purposes).

In particular I want to log, at the very least :

  1. Time of the request.
  2. IP address of the request.
  3. Size in bytes of the request.

Similarly I want to log the size of the response being rendered for the same request.

The request may be an entire page request or a partial update (updatepanel) request.

Much obliged for any help provided.

Thanks in anticipation.

  • 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-08T04:13:44+00:00Added an answer on June 8, 2026 at 4:13 am

    Handle the Application_BeginRequest event in your Global.asax file. Something like this:

    public void Application_BeginRequest(Object sender, EventArgs e) {
         yourLogger.Log(String.Format("Request Time: {0}, Request IP: {1}, Request Size: {2}",
                                      Date.Now.Time,
                                      Request.UserHostAddress,
                                      Request.TotalBytes)
    }
    
    • 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 web application running in IIS as a subweb; let's
I have a standard ASP.Net WebForms application running on IIS 7.0 with an Integrated
We have an ASP.NET web application running in IIS that uses the SoapHttpClientProtocol class
We have an ASP.Net Web Application that is running in an IIS Web-Garden--which is
I have a Web Application in Asp.Net 4 running locally on IIS 7. I
I have an ASP.Net web application running on an IIS server, and I need
I have an ASP.NET 4.0 MVC web application running on IIS 6.0 with a
I have an ASP.NET MVC 3 Beta application running on IIS. In my web.config
I have an ASP.NET 2.0 web application running on a shared server of a
We have a asp.net 2.0 web application that is running on IIS7. It is

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.