Storing data locally using Local Storage

Local Storage is supported if you use HTML. First of all you should make sure that your browser supports Local Storage. Data is stored as NAME,VALUE pairs in local storage.

You can review this post

 Local Storage is an alternative to storing data in Cookies. The data is stored in the browser and more data can be stored in Local Storage than cookies.

Local Storage is supported if you use HTML. First of all you should make sure that your browser supports Local Storage. Data is stored as NAME,VALUE pairs in local storage.
You can review this post

http://hodentekhelp.blogspot.com/2017/08/does-your-browser-support-localstorage.html

Let us say you want to store the string "Hi, Good Morning". You need to create a NAME VALUE pair, your VALUE being "Hi, Good morning" and the NAME can be anything. In the present example the NAME is "Greetings".

NAME="Greetings"
VALUE="Hi, Good Morning"

All you need to do is create a web page (just HTML) shown here:


Greetings.png

When you browse to this page, this is what you will see. You should same the Greetings.html page to the wwwroot folder on the IIS.


Greetings.png2

Comments

Popular posts from this blog

UWP: Displaying formatted text in a TextBox Control

UWP: XAML's ComboBox Control -Part 1

Handling AppManifest Validation error