My ASP.NET Web Forms Website uses CSS code to check if the screen width is less than 420 pixels. The client wants this version (under 420 pixels) to have a different functionality compared to the full-screen site. I was thinking of redirecting to a mobile version by detecting the browser width on the server side. Currently, I am using 51Degrees to verify Request.Browser.ScreenPixelsWidth, but it always gives me the same value, even on my phone. Is there a more accurate way to detect this information so that I can successfully load a mobile version of my webpage?