Web Storage API (localStorage, sessionStorage) & cookie
We all know that for client and server communication HTTP protocol is used. But this protocol is stateless means it doesn't track any response by the server or request by the client. To resolve this p...