Database failed

In my chrome extension, the javascript injector, localStorage is used as the database to store the clients’ data. However, as localStorage support only data in string, information has to be stringified and parsed whenever saving and retrieving. The database seems unable to hold anymore data. It corrupted and became incorrect data. I need to rewrite the program and use WebSQL or IndexedDb to store the information.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: