PltHead Method (.NET)

 

The Enterprise Edition of BrowserHawk features cyScape’s patented technology which tracks the actual Page Load Times (PLT) for each and every visitor to your site, along with other information about each page request.

 

This information is logged to your database in real-time using the BrowserHawk Reports Web Service (BRWS). This data proves invaluable for quality assurance, troubleshooting, and other analytical purposes. The information is also available at run-time through client-side scripting, so special actions can be taken based on the data.

 

To use the PLT feature, first create an instance of a PLTOptions class and set its properties to control various options as desired. Then call the PltHead method from your pages within the HEAD section of your HTML. Upon doing so, BrowserHawk dynamically inserts JavaScript into the browser which instruments the page for PLT tracking. This JavaScript is very efficient and only 3KB in size.

 

Syntax:

BrowserObj. PltHead(PLTOptions pltOptions);

 

pltOptions – An instance of the PLTOptions class, used to control PLT preferences and options.

 

Note: Any page in your site can be instrumented to track PLT, even pages which do not use BrowserHawk for detecting a user’s browser or system settings.

 

Note: For pages that perform extended property tests and track PLT, you must also pass the pltOptions as a parameter into the call to the GetExtendedBrowser method.

 

Note: Before using the PltHead method you must configure the BrowserHawk Reports Web Service (BRWS) using the BrowserHawk Editor->Special menu->Preference and Options->Reports Database tab. Or, alternatively or you can set the BrwsUrl property of the PLTOptions class prior to calling this method if you already have another server configured to run the BRWS.

 

TIP: There are several PLT related options available that provide great flexibility and control over PLT, such as the ability to assign a user ID and session ID for each PLT record, and to associate this information with the user’s browser and system data as recorded by the LogData method. See the PLTOptions class for details.

 

TIP: To easily track PLT for all pages across your site, simply call the PltHead method from ASP.NET Master Pages.

 

Note: Use of the PLT feature requires the BrowserHawk Enterprise Edition.

 

C# Example:

 

<html><head><title>My Title</title>

<%

PLTOptions pltOptions = new PLTOptions();

BrowserObj.PltHead(pltOptions);

%>

</head><body>page goes here</body></html>

 

See Also:
GetPltHead Method (.NET)

PLT FAQ

About Page Load Time Monitoring

BrwsUrl Property (.NET)

ExtraString1 Property (.NET)

ExtraInt1 Property (.NET)

ExtraDouble1 Property (.NET)

SessionID Property (.NET)

UserID Property (.NET)

CookieDomainOverride Property (.NET)