I was doing a search on how to save the user session after it has been logged in the system, I found several examples with cookies, however I am using java + angularjs, and in the examples I found it used the method ofPost of jsp, where it received 2 the response and request parameters, and through the response it added the cookie, how can I save the user's session?