473,756 Members | 1,964 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Server push to client

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
traffic on the internet for nothing...
What is .NET Remoting?

Please post an example.

PS: A method I found is to use java applets with sockets connected to
server... But I only want to use ASP.NET with VB.NET.

--------------
Alin
Nov 18 '05 #1
1 2311
You won't get functionality from this out of a web browser and simple HTML.
The best you can do is have the client send a request to the server every so
often to check for updates.
You can have the client refresh on a regular basis with a meta tag like
this:
<META HTTP-EQUIV="refresh" CONTENT="3">
That will cause the browser to refresh every 3 seconds.
Or you can do this programatically from client side code such as javascript:
location.reload ();
You can use SmartNavigation to make these refreshes less annoying to the
user.
Here's more information:
http://msdn.microsoft.com/library/de...ationtopic.asp
http://msdn.microsoft.com/library/de.../cpconpage.asp

If you need richer communication you'll have to design it yourself using a
thick client and your own networking code.
For this kind of thing you can use Remoting and the TCPChannel class.
Here's more info:
http://www.dotnet247.com/247referenc...20/103391.aspx
http://msdn.microsoft.com/library/de...ClassTopic.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"Alin Capitanescu" <c_****@hotmail .com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
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 traffic on the internet for nothing...
What is .NET Remoting?

Please post an example.

PS: A method I found is to use java applets with sockets connected to
server... But I only want to use ASP.NET with VB.NET.

--------------
Alin

Nov 18 '05 #2

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

Similar topics

0
1867
by: James R. Saker Jr. | last post by:
I've got a: "start server thread > Queue object, start server thread <> Queue object, start parsing client < Queue object" application that's got me puzzled. Probably an easy threads issue, but after digging thru Programming Python and Python Recipes sections on Threading class and running thru the examples, I'm still missing something. My Server/Server/Client app is a syslog collector app (syslog input in, zope control web interface to...
7
5114
by: DW | last post by:
Hi, Here is my question. I want to push security prices to the desktop from the server. Whenever there is a new price in the database, the server notifies the client. How can this be done in the following situations using MS .NET Winforms on the desktop: 1. Using .NET Web Services on server 2. Using Java Web Services on server
3
4434
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
4
16322
by: Susan Baker | last post by:
Is it possible to "push" data from a server to a client, using PHP server side scripting?. An example script will be very useful. Thanks
1
1621
by: Rodney | last post by:
I want to notify browser of every time my server side event fires w/o creating some sort of timer on client. Basically, can server notify client w/o client initiating contact? Again, thx for any information you can provide.
2
6964
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of attending interviews. If you own a company best way to judge if the candidate is worth of it. http://www.questpond.com/InterviewRatingSheet.zip
5
2469
by: Mark Goldin | last post by:
Can I create a push server using ASP technology? Thanks
0
9287
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10046
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9857
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9722
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...
0
6542
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5155
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...
1
3817
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
3369
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2677
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.