How To Force Server To Send Data To WebPage WIthout Refresh(Push Method)

B

batista

Hello All,

my prob. is that

i have a web server, and i want it to send fresh data,whenver
it is available(from sum other source), to a webpage.

Now i used refresh, but i want to use an alternative.
I heard that refresh is called pull scheme, and the one i'm looking for
is caled push scheme.

So i want to know how the push scheme is done.

Hlp me on this.Plz

Thnks in advance....
Cheers...
Bye
 
S

Sebastian Wojciechowski

I believe that it doesn't work this way.
You can't push data from web server to the client.
It means that web server has to connect to browser and send data.
If you don't want to refresh a page you can use an XMLHTTP and setTimeout()
function in JS in a loop.

What web server are you using?
 
B

batista

thnks for reply

kindly tell me
wat is XMLHTTP? and is there some other alternative then XMLHTTP
and also why can't i push data from web server to the client, is it
bcuz of http?

and i'm using IIS.
 
B

batista

thnks for reply.

While searching i found out that
java applet and activex control can do this
so if it really is about http,
then how do these tech do it?

And Sebastian i used xmlhttp and also found alternatives but they all
require
timer to tell them to contact server.(which i dont want to use, if
possible)

So wat i want to know is how
java applets and activex controls does it?

Plz Hlp Needed

Bye.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,981
Messages
2,570,188
Members
46,731
Latest member
MarcyGipso

Latest Threads

Top