473,725 Members | 2,295 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3154

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*********@gm ail.com> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.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*********@gm ail.com> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.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
6709
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 connect to the website and retrieve closest task due time, and keep retrieving next task after each one has been performed. The problem arises if the planner asynchronously changes the schedule, e.g. deleting the task "watcher" users consider to be...
3
4303
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 sending output in chunks in Python? Thanks John Bradbury
3
4433
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 update when the users. Note: I'm not interested in client refresh. Thanks, Stan
1
2309
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? The main idea is not to refresh the client page or a component at a moment of time, but to make the server push some messages to client when changes are made into database.... Refreshing the page every x seconds/minutes makes
3
2528
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 "update" the page or refresh every n seconds. After reviewing 'Server Push Techology' it appears Microsoft abandoned the technology with IE 4. I may be wrong. If they didn't abandon it did they replace it with a comparable solution?
0
3964
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. System.InvalidOperationException: Path property must be set before calling the Send method The line that it highlights as the problem is: Dim results() As Object = Me.Invoke("getQuote", New Object() {symbol})
4
1388
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" type="button" value="Add Products" onclick='addToBasket(<%#DataBinder.Eval(Container.DataItem, "ProductNo")%>)' /> //this button used for execution for javascript method... <asp:Button ID="Button1" runat="server" ...
2
1717
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 without success so far, so I wonder whether anyone here has some pointers to subject matter? Thanks all, -AS
1
6360
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
1074
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. How can we use this dll in C#.Net? How to see the exposed methods of that dll, i tried with dependency walker, Not showing Refresh method in that. Showign some default methods like DllCanUnloadNow, DllGetClassObject, DllRegisterServer and...
0
8889
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9257
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9116
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6702
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3228
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2637
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.