Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2005

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
batista - 19 Oct 2005 10:42 GMT
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
Sebastian Wojciechowski - 19 Oct 2005 11:03 GMT
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?

> Hello All,
>
[quoted text clipped - 14 lines]
> Cheers...
> Bye
batista - 19 Oct 2005 11:12 GMT
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.
Sebastian Wojciechowski - 19 Oct 2005 12:27 GMT
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 :-)

> thnks for reply
>
[quoted text clipped - 4 lines]
>
> and i'm using IIS.
batista - 20 Oct 2005 10:31 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.