473,513 Members | 6,210 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

REFRESH BROADCAST MESSAGE

HI !!
I'M .... SHOUTING !!!!

Sorry about that.

I have this application variable that i response.write to my web -page. It
is a broadcast message to all my worshiper...er ah users.

So when i decide to change the message, i want all users to see it within a
minute.

How to accomplish?

THANKS!
Jul 19 '05 #1
2 1885
Jeff,

Firstly, note that ASP has NO (shout) direct control over the client.
What I mean is the ASP server cannot instruct the client to change it's
message, the client has to initiate all requests.

Therefore, you have to look at a client side solution. Here are some
options, I 'm sure other would have more (including perhaps even client
side activex components):

1) Put a META refresh tag in every page so that all pages refresh
themselves every 1 minute. This could be rather eritating to all your
humble subjects.

2) Design your site around a frame structure, with your message
completly seperate in its own frame displaying the message page (again
with a META refresh to update itself - note again here: the page has to
update ITSELF)

3) It may be possible (I haven't tried this before) be possible to write
a javascript function for the client which reads an asp page and updates
just a portion (say the contents of a div block) of the page at your 1
minute intervals.

Always remember, ASP (or whatever server) is designed not to give the
king complete control over all his humble peasants - he can only tell
the what to do if they ask.

Cheers,
Nic

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #2
Yah I HEAR YOU.
Solution 3 is proably the best, and it is the one in which I am most
interested.
Although it is realistically not much different than solution 2.
DOES ANYONE HAVE A SOLUTION FOR 3 WHICH IS:
Give me a javascript function that updates a DIV from a database every
minute ?

Bow your heads
"Nicolas Noakes" <ni************@leoni.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Jeff,

Firstly, note that ASP has NO (shout) direct control over the client.
What I mean is the ASP server cannot instruct the client to change it's
message, the client has to initiate all requests.

Therefore, you have to look at a client side solution. Here are some
options, I 'm sure other would have more (including perhaps even client
side activex components):

1) Put a META refresh tag in every page so that all pages refresh
themselves every 1 minute. This could be rather eritating to all your
humble subjects.

2) Design your site around a frame structure, with your message
completly seperate in its own frame displaying the message page (again
with a META refresh to update itself - note again here: the page has to
update ITSELF)

3) It may be possible (I haven't tried this before) be possible to write
a javascript function for the client which reads an asp page and updates
just a portion (say the contents of a div block) of the page at your 1
minute intervals.

Always remember, ASP (or whatever server) is designed not to give the
king complete control over all his humble peasants - he can only tell
the what to do if they ask.

Cheers,
Nic

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 19 '05 #3

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

Similar topics

5
4436
by: Steve | last post by:
Hi, I have a private website for 20 people that is similar to a web email client like hotmail. There are two frames, one on the left with links for "New", "History", "Todays" and a frame on the...
3
9715
by: joe | last post by:
Hi guys, Is there any way to refresh the system tray. Every time the explorer crashes the notify icons are removed and I cannot see them when it comes back even when my application is running....
6
10292
by: pekspro | last post by:
I need some code that gets the address from a server. I read somewhere that you could do this by starting some broadcast server using UDP. The client should send an broadcast message, and when the...
1
3058
by: francois | last post by:
I have a ASPX form with a dropdownlist that makes a post back (to the same page of course, just a normal asp.net postback) That page also has an auto refresh javascript as it needs to refresh its...
2
3011
by: gregory_may | last post by:
First the research links: IPv6 spec (look for 'jumbo payload'): http://www.cs-ipv6.lancs.ac.uk/ipv6/documents/rfcs/archive/rfc1883.txt IPv6 Sample C# Client/Server...
2
2416
by: Shawn G. | last post by:
I'm going around in circles here and need some help. Scenario: I am using (have used) either the UDPClient class or Sockets class to broadcast some bytes to 255.255.255.255 (udp protocol). Upon...
10
2712
by: Bill Nguyen | last post by:
I would like to be able to get an active browser window to refresh the URL (reload) every 5 minutes. Is it possible in VB.NET? Thanks Bill
3
3639
Sagittarius
by: Sagittarius | last post by:
Hi there. I have a problem concerning an UDP socket in C++ (Winsock). The next paragraphs is merely to explain the system I am working on. If U want to skip it, I have marked the question in...
3
2876
by: Dobedani | last post by:
5:50 pm on Oct. 18, 2007 (utc 0) Hi there, In HTML, we have the following: <META HTTP-EQUIV="REFRESH" CONTENT="5; URL=http://www.mysite.com/ mypage.htm"> Can be practical, e.g. if you don't...
0
7254
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,...
1
7094
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
7519
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...
0
5677
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5079
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
3230
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...
0
1585
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 ...
1
796
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
452
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...

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.