Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

broadcast a message to all logged in users  RSS feed

 
rajesh kumar jhaver
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I broadcast a message to all logged in users, when my system goes for maintenance. During Maintenance, my Database server will be down and webserver will be up. I am using IIS as webserver, ServletExec as Servlet Engine and JSP.
Thanks in Advance,
Rajesh Jhaver
 
chanoch wiggers
Author
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you cant - HTTP does not support broadcast. You can deploy such a thing as an applet by polling the server for its status and setting the status to show this. alternatively, you can write your application in such a way that it detects the maintenance and imposes a helpful message if the resource is not available
 
Thomas Hubschman
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rajesh,
Can you grab their email addresses when they log in? So or your server can send them an email before you shut down.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!