users connection speed

This is a discussion on users connection speed within the Tech Board forums, part of the Community Boards category; Hey all, I was wondering if there is anyway to check for a users connection speed before loading a webpage. ...

  1. #1
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Posts
    2,572

    users connection speed

    Hey all, I was wondering if there is anyway to check for a users connection speed before loading a webpage. Basically, I want to bring an appropriate page to the user, depending on their connection speed right as they log into my site. I imagine this has to e a rather quick technique as to avoid any pauses before loading.

    Would some sort of jscript be efficient, or do i have to use a more advanced language?

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

  2. #2
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    I think there's a way, but i think you have to test their connection yourself... i'm not sure...
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  3. #3
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    Use any serverside language, and instead of detecting connection speed, detect it relative to how long it takes to load a small file. Create the file as an object in the client data space
    (ie: var something=somefile).
    Start a counter on the server side. Have the client script tell you when it loaded the object. Look at your counter, load whatever based on that.
    PHP and XML
    Let's talk about SAX

  4. #4
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    You probably don't even have to write the script. http://bandwidthplace.com/ appears to have a free one. (I haven't read the details of the agreement)
    Away.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Function validation.
    By Fhl in forum C Programming
    Replies: 10
    Last Post: 02-22-2006, 08:18 AM
  2. Limiting Connection Speed
    By mrafcho001 in forum Tech Board
    Replies: 2
    Last Post: 07-12-2005, 11:13 AM
  3. Speed up any Internet Connection!
    By Stan100 in forum Tech Board
    Replies: 5
    Last Post: 07-13-2004, 11:30 AM
  4. Headers that use each other
    By nickname_changed in forum C++ Programming
    Replies: 7
    Last Post: 10-03-2003, 05:25 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21