Click here to Skip to main content
13,047,131 members (60,555 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I want to save the data locally when network is disconnected or network is not available in my product...
After the network connected, i need to update this data to my live server...
Can anyone please help me?
Posted 8-Apr-13 22:38pm
Updated 8-Apr-13 22:39pm
Vasudevan D 12-Apr-13 9:08am
Actually what I am trying is, My product is like a a swimschool product...
I will load the page in nexus and i will put into the swiiming pool, where net connection wiill not being sure at long time.. So after some hours i will take the system and connected in network means i have to update my data(which i have entered when i am inside the swimming pool)...
Vasudevan D 12-Apr-13 9:39am
pLease tell me a favour logic...
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Question is little confusing? Yours is web application. So it always need connection.
If you are talking about network down after page load in clients browser, nothing can help you. You need connection even for processing J Query calls as they will be trying to save data somewhere.

Also Are you talking about connection between web server and database?
Then you can save data in cache and then once connection is restored, you can process data from cache to database. This is reverse of caching rules. Also you need some service looking at network status and cached data. You can not use data set or sessions if you are not sure when network will be restored.
Finally you should compare the worth of keeping all this efforts against making network available all the time. Keep in mind yours is web application.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Hi Vasudevan,

I've worked on a similar project where my client takes the laptop to a remote workstation and updates his work on the local DB, then gets back to the server location and uploads his work into the Main DB.

If your scenario is similar to mine, then please do look into Sync Framework provided by SQL Server 2008. I can provide more info on this.

Please let me know.

Happy Coding..!

Thank you,

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 9 Apr 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100