locked
Redirecting to Mobile pages fail in Nokia E61 RRS feed

  • Question

  • User990337296 posted

    I'm using the following code to redirect to mobile pages in the ASP.NET 2.0 app :

     if (Request.Browser["IsMobileDevice"] == "true" || Request.Browser["Platform"] == "WinCE") {

    Response.Redirect("MobileMenu.aspx");

    }

    else {

    Response.Redirect("DesktopDefault.aspx");

    }

    But the Nokia E61 device with Symbian 9.0 OS is not recognized as mobile device and gets redirected to DesktopDefault.aspx.

    Any help appreciated.

    Thanks.

    Thursday, December 7, 2006 9:40 AM

All replies

  • User990337296 posted

    I got a chance to test it again, and boom the above code decided to work on the device !!

    I do not have an answer to how it work, anyone ???

    Friday, January 5, 2007 5:21 PM
  • User990337296 posted

    Well, found out there are 2 browsers available on this device. One is earth logo with a cingular's X on it and other is the globe with www on it. If I browse with the former mobile pages r detected and loaded, using the latter opens the desktop pages !

     

    Monday, January 8, 2007 3:16 PM