473,416 Members | 1,544 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

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

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

Nov 19 '05 #1
4 3136

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?

"batista" <sa*********@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
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

Nov 19 '05 #2
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.

Nov 19 '05 #3

as far as I know http doesn't support this.

It's a request/response type of a protocol.

You might take a look at this too http://www10.org/cdrom/papers/269/
a lot of graphs and funny numbers :-)

"batista" <sa*********@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
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.

Nov 19 '05 #4
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.

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Michele | last post by:
Hi all, I have developed a PHP-based website where a "planner" user can make up schedules of activities to be performed, storing them into MySQL tables. Afterwards, other "watcher" users can...
3
by: John Bradbury | last post by:
I want to send updates from a long running cgi. I have tried copying perl examples of server push and can not get them to work. Does anyone have an idiot proof example of a working server push or...
3
by: DesignerX | last post by:
At a certain page in my web app I'm entering users into a Queue for processing, how can I do a server push (like the expedia 'searching for flights' screen) that can display a progress page then...
1
by: Alin Capitanescu | last post by:
Hi all! I need some help with asp.net! Is there any way to make the client BROWSER (IE, NETSCAPE, OPERA etc) to wait for messages from a http/https host (server) in an internet environment? ...
3
by: Ben Kim | last post by:
Hello all, We are interested in having a server push data down to the client on a periodic basis (IE data change). This data would need to be pushed into a grid control. We do not want to...
0
by: TSH | last post by:
I have created a visual basic web applicaiton and In it i have added a web reference which connects to an external webservice. When i run my app it gives the following error. ...
4
by: Shanthini Ganesh | last post by:
hi all. in my shopping cart project , i tested with two buttons, one for execution of client click and another for exection server method. these two buttons are as follows.. <input id="addbutton"...
2
by: ashore | last post by:
Folks, lots of stuff around re "multipart/x-mixed-replace" , which isn't supported on MS browsers. But i understand that they DO support an alternative server-push approach. I've Googled...
1
by: eusebiu | last post by:
Hello... Let's say we have a time consuming function, aaa inside a aspx page. public static string aaa(int i) { Thread.Sleep(1000); return i.ToString(); }
0
by: DKn | last post by:
Hello All, Please have a look in to this link. http://msdn.microsoft.com/en-us/library/aa392091(VS.85).aspx In the above link , they are talking about Wbemperf.dll contains Refresh method....
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.