我们可以让web应用程序以内联模式运行吗? [英] can we have web application runing in ofline mode.

查看:82
本文介绍了我们可以让web应用程序以内联模式运行吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,



我有一个托管在某个远程服务器上的Web应用程序。数据库也在同一台服务器上。现在客户端通过互联网从他的系统访问应用程序。如果他的互联网出现故障,我们的应用程序可以在他的系统上运行。他将继续在应用程序上做这些事情,他们将在他的互联网出现时更新。



这是可能的。请帮助



问候,

venga

解决方案

是的它可以是完成但这是一个非常重要的操作。我会设置客户端在他的Intranet上本地托管他的站点的副本,并在给定时间段将数据库复制到外部服务器或者可能镜像数据库,这将使外部站点(Web)成为后备位置而不是主要站点。


我建​​议你跟随我在客户端做的事情。



1)试着获得互联网的状态是否正常运行。

2)如果它完美运行,那么数据将更新到您的远程服务器

else

3)保持它在他的本地数据库中,让后台工作人员检查互联网是否在线,如果它在线,然后将数据复制到远程服务器。



如果您需要,请回复我澄清。

Dear All,

i have a web application which is hosted on some remote server. Database is also on the same server. Now client access the application from his system through internet. If his internet goes down can we have our application running on his system. he will keep on doing the things on the applications and they will be updated as his internet comes on.

Is this possible. please help

Regards,
venga

解决方案

Yes it can be done but it is a non trivial operation. I would set the client up hosting a copy of his site locally on his intranet and replicate the database to the external server at given periods or possibly mirror the database, this would make the external site (the web) the fallback position rather that the primary.


i would suggest you following thing which I have done in client side.

1)Try to get status of internet whether its down or running ok.
2) If its working perfectly then data will be updated to your remote server
else
3) keep it in his local database and let background worker to check whether internet get online or not if its online then copy that data to remote server.

Reply me if you need any clarification.


这篇关于我们可以让web应用程序以内联模式运行吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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