Discussion Locked

can i auto detect users conection spd?

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello,
I would like to know if anyone out there has any info on any technology to auto detect a users connection speed? Instead of letting them choose and droping the cookie... but I would like to automatically route the user to a page tweaked for his connection speed, but I do not want it to be something that they are even aware of if I can help it...

Any info, thoughts, ideas, or other possible solutions would be GREATLY appreciated!
Thanks

1 reply

by jay eckles

One possibility is having the page generated by a servlet and including a small applet on the page of a known size, then having that applet report back to the servlet the instant it is loaded. The servlet could have timed how long it took for the applet to respond. Unfortunately, it's not a perfect solution because what you're measuring is not the user's connection speed, but rather your connection speed (the server's bandwidth) + the customer's connection speed + the time it takes the customer's browser to load the applet. Still, you know that a user on a T-1 line will load the applet faster than a user on a 56k line.

Another downfall of this method is that some clients will not have Java-enabled browsers or will have Java turned off.

In general, the best way to get this type of information about a client is to ask.

Good luck.

Jay

This discussion is closed to new replies.