Click here to Skip to main content
13,894,512 members
Rate this:
Please Sign up or sign in to vote.
See more:
I am getting the content length from
but cant able to get content length from

Any help would be appreciated.

What I have tried:

Public Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
        Case8Logger.Info(String.Format("Request Time: {0}, Request Size: {1}", Date.Now, Request.TotalBytes))
    End Sub


Public Sub Application_EndRequest(ByVal sender As Object, ByVal e As EventArgs)
        Case8Logger.Info(String.Format("Response Content Length: {0}", Response.Headers))
    End Sub

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web04 | 2.8.190306.1 | Last Updated 14 Feb 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100