question: public static void addCookieWebUser ( HttpServletRequest request , HttpServletResponse response , String webUser ) { Cookie cookie = new Cookie ( COOKIE_NAME , webUser ) ; cookie . setComment ( "Adempiere Web User" ) ; cookie . setPath ( request . getContextPath ( ) ) ; cookie . setMaxAge ( 2592000 ) ; response . addCookie ( cookie ) ; }
target:  Add Cookie with web user