I have an Ektron site, which is using WURFL (latest version, 2.3.2) to detect the device. When browsing to the site using IE9, the user is shown the mobile version of the site.
The user agent is-
Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0)
When I enter this UA on the WURFL homepage, it shows as a generic web browser.
However, when using the Asp.NET WURFL library, it is detected as a mobile.
The following code-
IWURFLManager wurflManager = wurflManagerProvider.WURFLManager;
IDevice device = wurflManager.GetDeviceForRequest(Request);
var device_os = device.GetCapability("device_os");
var device_os_version = device.GetCapability("device_os_version");
var device_model = device.GetCapability("model_name");
deviceinfo.Text += "WURFL Model: ";
deviceinfo.Text += device_model;
deviceinfo.Text += "WURFL Device OS: ";
deviceinfo.Text += device_os;
deviceinfo.Text += "WURFL Device OS Version: ";
deviceinfo.Text += device_os_version;
Outputs-
WURFL Model: Windows Mobile 7.5
WURFL Device OS: Windows Phone OS
WURFL Device OS Version: 7.5
Why is this happening?