ASP.NET Developers can detect a mobile device using the following ASP.NET code: if (Request.Browser.IsMobileDevice) Related tutorials: How to preserve member variables for an ASP.NET page in C# How to configure session state to use AutoDetect in ASP.NET How to use session state in ASP.NET using C# How to get session identifier in ASP.NET