asp.net.ph

Skip Navigation LinksHome > ASP.NET Applications > ASP.NET Optimization > ASP.NET Trace Functionality > Reading the Trace Log

Reading the Trace Log

ASP.NET Web Applications   ASP.NET Trace Functionality


Whether you choose to view trace information appended at the end of an ASP.NET page or by using the trace application, the information displayed is the same. ASP.NET organizes the trace information in a series of tables that details specifics about the page request that you are viewing, all trace information, including any trace messages you have written, for the request, the control hierarchy for the page, and a series of tables detailing the Cookies, Headers, and Form collection information for the request, as well as information about the server variables associated with the request.

Trace information appears in the following order once you have enabled tracing for a page or application.

Request Details

Value Description
Session ID The session ID for the specified request.
Time of Request The time the request was made.
Request Encoding The character encoding for the request.
Request Type GET | POST
Status Code The status code value associated with the response. For more information, see http://www.w3c.org, RFC 2616 for HTTP 1.1
Response Encoding The character encoding for the response.

Trace Information

Value Description
Category The trace category that you specified in the Trace.Warn or Trace.Write method.
Message The trace message that you specified using the Trace.Warn or Trace.Write method.
From First ( s ) The time, in seconds, since the first message was displayed.
From Last ( s ) The time, in seconds, since the most recent message was displayed.

Control Tree

Value Description
Control ID The ID for the control. If you have not specified an ID property for the control, ASP.NET generates an ID using the ClientID property.
Type The fully qualified type of the control.
Render Size bytes The size, in bytes, of the rendered control ( including child controls ).
Viewstate Size bytes The size, in bytes, of the control’s view state ( excluding child controls ).

Cookies Collection

Value Description
Name The name of the cookie.
Value The value of the cookie, or subkeys/values if multi-valued.
Size The size, in bytes, of the cookie.

Headers Collection

Value Description
Name The name of the header.
Value The value of the header.

Form Collection

Value Description
Name The name of the form variable.
Value The value of the form variable.

Server Variables

Value Description
Name The name of the server variable.
Value The value of the server variable.



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note