Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
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
Posted
Comments
Prasad Avunoori 16-Jul-14 1:27am    
If both hosted server and client system on same LAN, you can.
mvengaqua 16-Jul-14 1:29am    
No they are not at all connected on the same LAN.

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.
 
Share this answer
 
Comments
mvengaqua 16-Jul-14 1:40am    
any other way of doing this. as in this case the code will be at the client system. which i dont need.
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.
 
Share this answer
 
Comments
mvengaqua 16-Jul-14 2:16am    
i dont have any database on the client not tell me what to do.
nilesh sawardekar 16-Jul-14 2:21am    
Is your project is only for this client or can be accessible to anyone in net worldwide?

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