docs: public static void storeSessionDataInCookie(String key, String value, ServletResponse response)
  	{
  		Cookie cookie = new Cookie(key, value);
  		cookie.setPath("/");
  		cookie.setMaxAge(-1);//expire when browser closes
  		((HttpServletResponse) response).addCookie(cookie);
  	}