Forum Moderators: coopster & phranque

Message Too Old, No Replies

Redirection Based on Connection Speed

Redirection Based on Connection Speed

         

lindajames

12:46 am on Mar 24, 2003 (gmt 0)

10+ Year Member



I want to create a script that will detect if a user is using 56K,128K-ISDN or Broadband and redirect to a certain page depending on connection speed.

Can anyone help me on this?

Any help would be much appreciated

Cheers
Linda

Tapolyai

1:06 am on Mar 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't think you could tell if they are connected at what method or speed, but you could tell how high the latency is at that moment for their connection. This should be enough to route the user most often to the right set of pages.

In a PHP code, ping the client IP and track that, or even better, send them a predetermined sized .CSS file, and track it how long it takes to send it using microtime().

eaden

7:40 am on Mar 29, 2003 (gmt 0)

10+ Year Member



or use flash and time the amount of time it takes to load a 50K flash file, and at the end of the flash file, redirect based on that amount of time.

georgeek

8:37 am on Mar 29, 2003 (gmt 0)

10+ Year Member




use flash and time the amount of time it takes to load a 50K flash file

If they are on 56k, and lucky, in practice it will take about 9 secs (4.5 secs for the ISDN user) to download the flash file. I am not sure a lot of these users wait that long to see what's going to happen. In my experience flash is a real turnoff for 56k/128k users.

Asking the user their connection type seems to work ok and it is easier on the user than timing downloading a file which I think is the only other practical solution.