0
I am trying to create a login in which after validating that the user and password are correct create in sessionStorage the following variable:
sessionStorage.setItem('ClienteId', resp.ClienteId);
By doing so when entering each page I check before if there is the client in Session, but when changing tab I lose the same. I could work without losing her?
Or any better way to log in? Thanks in advance.
I used Localstorage even performing a Session abandon if you leave the page or ask to reload!
– Danilo Assis