Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

What is cookies, sessionStorage, localStorage.

What is cookies, sessionStorage, localStorage.

// cookies in created by a server and stored on client-side.
// it is used to remember information for later, so It can give better recommendation for the user.

// SessionStorage and localStorage are similar except

// SessionStorage data is cleared when the page session ends.

// localStorage data stay until the user manually clears the browser or until your web app clears the data.
 
PREVIOUS NEXT
Tagged: #What
ADD COMMENT
Topic
Name
3+6 =