1) Session in the game! always supported by cookies (i.e. client side), this is due to the "Share nothing" approach.
2) If you use a secure module (or you can take a look at the code and follow if you write your own), the authenticate () method takes a remember parameter and establishes a session for 30 days ( response.setCookie("rememberme", Crypto.sign(username) + "-" + username, "30d");)
That is, if the user does not select "remember", their session lasts only until the browser is closed.
3) , , , session.put() . , cookie.
4) , CRUD ( "" ), /id ( ) . , , memcache.
5) cookie request.cookies.get("name") .