|
Home > Archive > WebSphere HTTP Server > October 2004 > How do send a broadcast(notify) message to all users?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How do send a broadcast(notify) message to all users?
|
|
| Ahmed Rahim 2004-10-05, 6:03 pm |
| Hi
We currently have Websphere5.0.2 and http 5.3 running in an z/OS 1.4 lpar.
What we would to know is how does one send a broadcast message to all users,
notifying them that the system will be shut down in say 10 minutes?
regards
Ahmed Rahim
| |
| Ray McVay 2004-10-05, 6:03 pm |
| Through a web interface? You don't. HTTP is client driven. What you CAN
do is use a global (application scope) object to hold that state
information then check its condition during each response.
Ahmed Rahim wrote:
> Hi
> We currently have Websphere5.0.2 and http 5.3 running in an z/OS 1.4 lpar.
> What we would to know is how does one send a broadcast message to all users,
> notifying them that the system will be shut down in say 10 minutes?
> regards
> Ahmed Rahim
>
>
| |
|
| As Ray indicates, web interface are by nature a "pull" technology. To push
information to a client, you have to implement a feature in the client that
regularly checks if the server pushes.
For example, every time (or so) a user makes an interaction, you check the
application context for a notification message. Or you could add a hidden
autorefresh frame to do it.
|
|
|
|
|