2
I am learning angular4, and would like to know a way to login with the same. I can already get the backend data, but how do I set up the session? (I came from php, there was only use).
I saw something about storing a token in localstorage, but that would be there forever, no?