You are required to have a cookie banner if you use cookies, and you have to use cookies or an equivalent technology to persist state in a logged-in website (like HN).
To pre-empt the typical reply, yes you must serve a cookie banner even if you are only using functional cookies.
To pre-empt the typical reply, yes you must serve a cookie banner even if you are only using functional cookies.