I have a very wired "Too Many Redirects" error being reported on an HTC mobile phone.

My site is simple, using a javascript

<script type="text/javascript">
  if (screen.width <= 800) {
    window.location = "http://mobile.anssecurity.com";
  }
</script>

The script works fine on iphone and blackberry. The ecript also works fine with HTC phone when the phone is connected via WIFI. However when the HTC device is connected via 3G it reports error "Too Mnay Redirects". (I've test on two different networks).

Does anyone have any ideas?

p.s. I tried a number of redirect methods (inclusing a PHP 301 header readirect).

What browser are you using, and which version/build of Android is it running?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.