Read the checkbandwidth.txt that comes in the zipped file:
CF_CheckBandwidth
Ashley King
aking@allaire.com
DESCRIPTION:
Checks bandwidth by sending a compressed file and checking for the time lapse. Outputs a varible representing connection speed.
SPEC:
<CF_CheckBandwidth
help="yes">
OUTPUT:
variables.browser.speed
0-4
0 = Page is cached
1 = up to 9600 baud modem
2 = up to 28800 baud modem
3 = up to 56600 baud modem or ISDN
4 = up to and above 100000 ISDN or T1
USAGE:
Place the file checkbandwidth.cfm in your cfusion\customtags directory. Add the tag to any document. It will add a few seconds to page access time for dialup users, as 16 k worth of data must be downloaded. NOTE: You must place the benchmark.txt file within the same directory as the calling template. DO NOT MODIFY BENCHMARK.TXT or calculations will be compromised.
Add the attribute help="yes" to display this message. REMOVE the attribute help to disable this message.
JavaScript modified from Cut-N-Paste JavaScript from ISN Toolbox, Copyright 1996, Infohiway, Inc.
-
tleish