02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoPrevious Video

Introducing LocalStorage

In our first session on web storage we will start working with the localStorage object. The local storage object enables you to save information on client end. The way to work with the local storage is very easy. If the object has been implemented all we need to do is start adding into it properties just as we would with any other object we would create ourself. Click on the play button let's see it in action.

Introducing LocalStorage

In our first session on web storage we will start working with the localStorage object. The local storage object enables you to save information on client end.

05:30

LocalStorage getItem and setItem methods

There are a few ways to access a localStorage or any type of storage object: we've seen how to do the first in the last video, in this one we will see how to add and get items using the setItem and ge

02:09

Removing items or removing the whole localStorage

We started working with the storage API in the last video in this one we will learn how to remove one item using the removeItem method and how to remove all items using the clear method.

02:26

Talking about the localStorage limits - 2MB

A short talk about disk space and how much storage can you actually have in your HTML5 localStorage object. The current suggested amount is up to 2MB.

01:12

What is the difference between SessionStorage and LocalStorage?

While LocalStorage is long term and shared among all windows of user in the same browser the SessionStorage is temporary information that is saved on browser window and not shared between windows.

03:57

Working with the storage Event

In this video we will introduce the ability to share immediate updates within multiple windows using the the storage event.

07:38