Name

UserAgent — objLogUtil .UserAgent

Synopsis

The user agent string sent with the client request. This usually reflects the browser used by the client.

Parameters

None

Example

See the example at the end of this chapter.

Notes

The UserAgent property in the log record comes from the User Agent HTTP header sent with all HTTP requests. This is the same HTTP header used by the BrowserCap component to determine the abilities of the browser used by the client.

Get ASP in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.