Angular 13 – session storage vs local storage in Tamil || how to implement session in angular
#angular #angular13 #deployment This video explain how to implement session in angular application's with example also the difference between local storage and session storage Session storage ============== Session storage is a popular choice when it comes to storing data on a browser. It enables developers to save and retrieve different values. session storage only keeps data for a particular session. The data is cleared once the user closes the browser window. Syntax 1, sessionStorage.setItem("test", "test") 2, sessionStorage.getItem("test”) Local Storage ============== local Storage is a way to store data on the client's computer. It allows the saving of key/value pairs in a web browser and it stores data with no expiration date. We can clear this data by using the local Storage method Syntax 1, localStorage.setItem("test", "local“) 2, localStorage.getItem("test”) Important Links ================ https://angular.io/cli - official angular website
#angular #angular13 #deployment This video explain how to implement session in angular application's with example also the difference between local storage and session storage Session storage ============== Session storage is a popular choice when it comes to storing data on a browser. It enables developers to save and retrieve different values. session storage only keeps data for a particular session. The data is cleared once the user closes the browser window. Syntax 1, sessionStorage.setItem("test", "test") 2, sessionStorage.getItem("test”) Local Storage ============== local Storage is a way to store data on the client's computer. It allows the saving of key/value pairs in a web browser and it stores data with no expiration date. We can clear this data by using the local Storage method Syntax 1, localStorage.setItem("test", "local“) 2, localStorage.getItem("test”) Important Links ================ https://angular.io/cli - official angular website