51degrees

Create WURFL patch matching partial user-agent

五迷三道 提交于 2019-12-23 18:26:01
问题 I'm using WURFL to identify whether a user is on a mobile device. Some User-Agent strings are incorrectly recognized as mobile devices which in turn causes the content-type to be set incorrectly. Here an example of a real life user agent behaving like this: Mozilla/5.0 (GTmetrix http://gtmetrix.com/; X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 The content-type then is set to application/vnd.wap.xhtml+xml instead of text/html . I would like to add an entry to

How to customize mobile device detector?

对着背影说爱祢 提交于 2019-12-18 09:39:36
问题 I have a customize request from my client in sitecore mobile module. I want to be on full view site from my mobile on Career page, i am able to do it but any of the link inside career page with having mobile layout in presentation detail is taking that page again to mobile device. Can we make any customization that maintain the device in cookies so that it keep user on full view site after coming to career page. Is there any setting we can do in pipeline or session. I just want to be

51Degrees reloading on each request slows ASP.NET MVC to a crawl

爱⌒轻易说出口 提交于 2019-12-10 13:00:25
问题 My ASP.NET MVC 3 project slows to a crawl after adding the 51Degrees mobile detection library. The 51Degrees log file defined by <log logFile="~/bin/App_Data/51Log.txt" logLevel="Info" /> in the <fiftyOne> section reveals that the device library is reloaded for each request, adding a 2-3 seconds delay for each request: 2011-10-22T14:17:34.9863774Z - 8436 - Info - Loaded 14691 devices using 11640 strings in 1882ms 2011-10-22T14:17:50.8442844Z - 8436 - Info - Loaded 14691 devices using 11640

Is it possible in ASP.NET to derive the browser MajorVersion from the HTTP request's user agent string alone?

情到浓时终转凉″ 提交于 2019-12-09 14:20:08
问题 We have an application which uses Request.Browser.MajorVersion as part of a cache key. We have a challenge to determine which cache key was used for a set of historic requests. To do this we're analysing IIS logs so need to determine what the value would have been for ASP.NET's Request.Browser.MajorVersion for each request. Is it possible to derive this from the user agent string alone? UPDATE I originally assumed the value of Request.Browser.MajorVersion would be the version taken direct

Is it possible in ASP.NET to derive the browser MajorVersion from the HTTP request's user agent string alone?

谁说胖子不能爱 提交于 2019-12-04 01:09:58
We have an application which uses Request.Browser.MajorVersion as part of a cache key. We have a challenge to determine which cache key was used for a set of historic requests. To do this we're analysing IIS logs so need to determine what the value would have been for ASP.NET's Request.Browser.MajorVersion for each request. Is it possible to derive this from the user agent string alone? UPDATE I originally assumed the value of Request.Browser.MajorVersion would be the version taken direct from the user agent string. However, in a debug session to confirm this theory I see this: I would have

How to customize mobile device detector?

一世执手 提交于 2019-11-29 17:33:41
I have a customize request from my client in sitecore mobile module. I want to be on full view site from my mobile on Career page, i am able to do it but any of the link inside career page with having mobile layout in presentation detail is taking that page again to mobile device. Can we make any customization that maintain the device in cookies so that it keep user on full view site after coming to career page. Is there any setting we can do in pipeline or session. I just want to be throughout in full view site after coming on career page and no going back to mobile layout. Kindly suggest.