DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: Server Side AJAX question

  1. #1
    Join Date
    May 2005

    Server Side AJAX question

    since ajax is event driven from the client side, can a server broadcast to several clients when updates happen, not when the user causes an event?

  2. #2
    Join Date
    Apr 2006
    That is exactly what I want to implement in case of database updates...however I would imagine that the xmlhttprequest would be generated ina timely fashion using a timer or something...i doubt without calling the send method of the xmlhttprequest, if at all the client can automatically receive updates from the server...unless there is a server side technology which does that..

  3. #3
    Join Date
    Jun 2006
    No. Ajax is not capable of "pushing" data to the client without first receiving a request from the client. Pushing can be simulated by having the client periodically poll the server for updates, but this is bandwidth and server resource intensive.

  4. #4
    Join Date
    Apr 2006

    Server Side Polling bandwitch restriction

    very true! I was just able to simulate autorefesh using setTimer along with xmlhttpRequest. Gavacho (or anyone else who knows about this)-could you point out any references where I can get more information about bandwidth restriction. I cant find any article or references which provides enough information on the bandwidth restriction? We are going to implementing this sample code which I wrote as a component for autorefreshing the webpages on our product. But we would definately want to get all the pros and cons for the same for strong specification and proof of concept.

  5. #5
    Join Date
    Nov 2006

    Server-side-blocked-calls (server-side AJAX)


    I apply a technique called serverside-blocked-calls (server-side AJAX) in my MVC-framework. See demos on my website:

    Kind regards,

    Stephan Smetsers

Similar Threads

  1. Server side vbscript from input button OnClick
    By moazzam in forum VB Classic
    Replies: 3
    Last Post: 11-17-2005, 03:57 AM
  2. Server side generating client side script
    By Darren in forum ASP.NET
    Replies: 1
    Last Post: 09-24-2002, 04:53 AM
  3. Replies: 0
    Last Post: 03-04-2002, 02:46 PM
  4. Server Side Controls
    By Fahd Ahmed in forum ASP.NET
    Replies: 1
    Last Post: 02-20-2001, 11:27 PM
  5. Replies: 1
    Last Post: 08-24-2000, 09:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center