This example shows the output for a name-value pair in a request.
Suppose this user agent name-value pair is detected in the request:
HTTP_USER_AGENT=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:22.214.171.124) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729)
When the user agent is detected, the session agent performs lookups to return the values that are associated with this user agent from the public standards. These values are inserted as name-value pairs in the request:
TLT_TRAFFIC_TYPE=MOBILE, then these fields can be inserted and populated for
the mobile user agent:
TLT_SCREEN_HEIGHT TLT_SCREEN_WIDTH TLT_COLOR_DEPTH TLT_PICTURE_SUPPORT TLT_VIDEO_SUPPORT TLT_STREAMING_SUPPORT
Additionally, if user agent logging is enabled, these entries can appear in the
[UALog] section that is inserted into the request:
[UALog] Retrieve From Cache took 9.029e-005 seconds Checking TLT_USER_CAP Selected class User Agent Parsing::Firefox User Agent Matcher User Agent Parsing::Wurfl Data Manager::Apply Exact Match m_user Agent Map.find took 0.000342962 seconds User Agent Parsing::Wurfl Data Manager::Apply Exact Match took 0.000636579 seconds User Agent Parsing::Browscap Data Manager::Apply Exact Match m_exact Search Map.find took 0.000381108 seconds Regex match: Mozilla/5\.0\s+\(Windows;\s+.*;\s+Windows\s+NT\ s+5\.1;\s+.*;\s+rv:1\.9\.2.*\) \s+Gecko/.*\s+Firefox/3\.6.* m_regex Search Map lookup took 0.00878997 seconds User Agent Parsing::Browscap Data Manager::Apply Exact Match took 0.00971492 seconds User Agent Parsing::Filter::Get Data Node took 0.0113107 seconds GJK_Browscap_Version GJK_Browscap_Version 4566 Thu, 28 Oct 2010 19:52:36 -0000
Please sign in to leave a comment.