title: Angular 5/6 project session storage
body: <p>recently I am thinking of how to main a session object like using session in traditional asp.net project, since this would be some information
  that'll constantly using through the web application like userId/appId/userRole and we don't want to retrieve the information from database every time when use these as input, so far what I found out the possible solutions would be:</p>
  
  <p>1) Put them into html5 local/session storage, however I am not sure if
      that's safe to the public
      user? Suppose I save userId as 1 in session storage, <strong>would user go and modify this value to 2 on his local browser storage, so after that when saving something and need to grab the userId from session storage, it would grab userId 1 or 2? Or would user go and delete the key/pair in session storage which would cause an error in the application when trying to look for it</strong></p>
  
  <p>2) Save them into a angular service class as an object and use it like a global object, would this be a good idea?</p>
  
  <p>Which of the above solution would be best to solve my issue in Angular project? Or does anyone have a smarter idea?</p>