Click here to Skip to main content
15,917,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a web application hosted on my server.

I want to restart the server, how can send an alert Message to my all users that are using my web application "Server Restart in 10 Minute please logout"

How should I do it using asp.net (VB as code behind)

Thanks in advnace
koolprasad2003
Posted
Updated 27-Oct-10 21:33pm
v2
Comments
Dalek Dave 28-Oct-10 3:33am    
Edited for Grammar and Syntax.

1 solution

You can do this with below step :
1) add one table in your database name as 'Alert'
2) Write code in your ASP web apps which read data form this table and disply it on website in some alter type manner.
3)when not required to display alert just flush data from the table
4)Make sure that your web apps continusly scan to this table using some thread or some alter scanner module which you need to build in you code script.

By the way what is your backend.
 
Share this answer
 
Comments
Sandeep Mewara 28-Oct-10 3:28am    
Comment from OP:
Thanks for your reply

But how do i continusly scan table using some thread ot alter scanner ?

have u any example or link ?

thanks in advnace
RDBurmon 28-Oct-10 5:10am    
What is language are u using like (ASP.net with VB.net / ASP.net With C#.net)
And what is your database (Mysql/SqlServer)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900