+ 3
Where I can use local storage and where session stroge And if local Sto save data always why we don't use it always?
Local Storage and Session Storage
15 Answers
+ 3
If you want your data to be removed when the browser tab is closed use session storage.
+ 4
Read this lesson :
https://www.sololearn.com/learn/HTML/2197/?ref=app
For more info : https://www.w3schools.com/html/html5_webstorage.asp
+ 2
Ayush Kumar So the session storage is useless
+ 2
Right
+ 2
+ 2
So u can do a form for an account and once u close the website the account be deleted?
+ 2
Steven...JustToCode
Correct👍
+ 2
:D
+ 2
I will do tgat
+ 1
Alphin K Sajan Thanks alphin I read it in solo learn but I don't know why we don't use the local storage always..
+ 1
Steven...JustToCode It's OK
+ 1
Ok*
+ 1
Hi
0
I didnt understand that lesson..
0
I think bcuz its a storage on the variables...so we cant see on the web