Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: jQuery C#3.5
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 23:38pm
Edited 8-Apr-13 23:39pm
v2
Comments
Vasudevan D at 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 at 12-Apr-13 9:39am
   
pLease tell me a favour logic...
Rate this: bad
good
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.
  Permalink  
Rate this: bad
good
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,
Vamsi
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 245
1 Jochen Arndt 155
2 PIEBALDconsult 150
3 Afzaal Ahmad Zeeshan 120
4 DamithSL 115
0 OriginalGriff 5,695
1 DamithSL 4,591
2 Maciej Los 4,012
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,190


Advertise | Privacy | Mobile
Web01 | 2.8.141220.1 | Last Updated 9 Apr 2013
Copyright © CodeProject, 1999-2014
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