Favourite posts

What it Takes to Get an e-Commerce Site Online

Getting an e-Commerce website online might sound like a huge undertaking,...

WebView Interactions with JavaScript

WebView displays web pages. But we are interested not only in web-content...

Google Maps API for Android

Google Maps is a very famous and helpful service, which firmly entrenched...

Unit Testing with RSpec

RSpec is an integral part of Test Drive Development (TDD) and its main id...

Client side JavaScript: Knockout in practice

When developing a web application that extensively works with user input ...

Accessing Field Configurations in JIRA for changing field description

Field configuration defines behavior of all standart (system) fields and ...

A Guide for Upgrading to Ruby on Rails 4.2.0

As you might have already heard, the latest stuff for upgrading rails was...

localStorage

01 Oct 2013

Additional means for data storage

Most modern browsers support cookies. For a long time cookies have been the only way to store data making it available after reloading a page. However, the means of storage on a client foresee hundreds of kilobytes and megabytes of data without sending it to the server for each HTTP-query as cookies usually do.   

However, cookies may be still used for session storage, for example.

localStorage is a built-in storage for pairs “name/meaning”. localStorage allows to save information between sessions without reading it by another sites because the access is restricted by a current domen.

General duration of action ...