I'm currently doing a POS
(Point of SALE
) project by using ASP.Net
. My web application works well when INTERNET
is available to the client, but I'm trying to facilitate the client to use this web application even if the client doesn't haveINTERNET
connectivity.
So, the tasks on which I did RND are:
- Launch Offline version of my web application, by creating a cache manifest file in
HTML5
. So, client can get offline access to the web application when he has no internet connectivity (usingCACHE.APPCACHE
)- Using
HTML5 WebSql
to store sale-data at client side, when internet is not available at client side. And after that, this offline sale data(Local Sale Data) is synced to the live-database, when internet is connected.
But the issue is this, HTML5 Web Sql
can be deleted by "deleting the Cookies and Content data" in browser. So, all the sale-data
, from Local Storage, can be deleted.
Is there any other solution to store data at client side, so that Local Stored data can't be deleted by "deleting the Cookies and Content data" in browser.
Or can we store the LOCAL-Data
into some kind of XML
file instead of HTML5 WebSql
!
Sale-Data
= Data Storing when making a sale usingPOS
Local Storage
= Data storing at client sideLive Storage
= Data Storing in Live DataBase