如何从Asp.net弹出消息 [英] How to popup a message from Asp.net

查看:71
本文介绍了如何从Asp.net弹出消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个具有某些交易功能的应用程序,我需要在特定的日期和时间重新启动服务器,然后(10分钟)重新启动服务器之前,我需要向所有正在使用我的应用程序的客户端弹出一条消息互联网说服务器将重新启动,请在接下来的20分钟内没有任何事务".

如何使用C#通过asp.net做到这一点. 这是紧急要求.

I have an application which has some transaction functionality,I need to restart the server @ a particular day and time, before (10 Minutes) restarting the server I need to popup a message to all clients, who are using my application through internet saying that "The server is going to restart please do not have any transactions for next 20 minutes".

How to do this through asp.net with C#. It is an urgent requirement.

推荐答案

您需要搜索 [使用彗星方法在RESTful WCF Web应用程序中推送消息 [使用IHttpAsyncHandler和XMLHttpRequest将消息推送"给客户端 [
You need to search for "Push message ASP.Net"[^]
Push Messages in RESTful WCF Web Application with Comet Approach[^]
Using IHttpAsyncHandler and XMLHttpRequest to "push" messages to the client[^]


这篇关于如何从Asp.net弹出消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆