• About Us
  • Blog
  • Basket
  • Account
  • Sign In
  •  

Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 03 Aug 2017 08:33 AM by  Lily
detection
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

svfox



New Member


Posts:
New Member


--
27 Jul 2017 06:18 PM
    I have added a new website on my server and the website does not redirect the mobile phone on the first page load. But there is a submit button that when pressed comes back redirected to my mobile page. Tablets work fine only the mobile phones are not initially loading the mobile page. I use the plain code and keep it simple.
    I have tried

    if (Boolean.Parse(Request.Browser["IsMobile"]))
    Response.Redirect("www.unscramble.com//mob.aspx");

    if (Boolean.Parse(Request.Browser["IsTablet"]))
    Response.Redirect("www.unscramble.com//mob.aspx");

    if (Request.Browser["IsMobile"] == "True")
    Response.Redirect("www.unscramble.com//mob.aspx");



    The log file doesn't show anything helpful.
    0

    Lily



    New Member


    Posts:9
    New Member


    --
    28 Jul 2017 09:51 AM
    Hi there,

    Have you tried IsSmartphone property, does that give you the same issue?

    Thanks,

    Lily
    0

    Lily



    New Member


    Posts:9
    New Member


    --
    03 Aug 2017 08:33 AM
    Hi there,

    Just following up on this, have you been able to resolve your issue?

    Many thanks,

    Lily
    0
    You are not authorized to post a reply.