Results 1 to 2 of 2

Thread: AJAX request, wait for response

  1. #1
    Funking Prink! Raz316's Avatar
    Join Date
    Jul 2003
    Location
    Deal, Kent, UK
    Posts
    2,978
    Thanks
    130
    Thanked
    62 times in 52 posts

    AJAX request, wait for response

    Hi everyone, until now I've been using jquery/ajax calls in the following way. Check the server (hosted in same office) every second, usually the response will be null because no changes have occurred.

    Now, I am assuming Gmail doesn't do the same when it updates the inbox link (to show there's a new mail - inbox(1)), but how exactly does it deal with it? Is it something along the lines of the server not responding until a change occurs?

    What wording am I looking for so I can do a search for this kind of thing?

    Ta

  2. #2
    Funking Prink! Raz316's Avatar
    Join Date
    Jul 2003
    Location
    Deal, Kent, UK
    Posts
    2,978
    Thanks
    130
    Thanked
    62 times in 52 posts

    Re: AJAX request, wait for response

    I think what I am looking for is long polling (or Comet)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Stock levels, MixIt Request related
    By Funkstar in forum SCAN.care@HEXUS
    Replies: 4
    Last Post: 24-03-2006, 10:55 AM
  2. s939 or wait for AM2?
    By davidstone28 in forum PC Hardware and Components
    Replies: 14
    Last Post: 14-01-2006, 06:59 PM
  3. should i wait for new ATI SM3 cards?
    By makenx19 in forum Graphics Cards
    Replies: 12
    Last Post: 16-09-2005, 05:44 PM
  4. Wait or Buy?
    By Jaynie in forum Smartphones and Tablets
    Replies: 1
    Last Post: 27-06-2005, 09:40 PM
  5. Agonising wait!
    By Shad in forum Automotive
    Replies: 11
    Last Post: 11-09-2003, 04:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •