Name of this method is very generic and does not indicate what it does (note that sometimes it does not set the cookie). Also - if the cookie is used or some other mechanism - is internal implementation detail and does not look like something that should be exposed outside of the class.