Defined getComment() and setComment(String comment) ?
public String getComment();Returns the comment describing the purpose of this cookie, or null if no such comment has been defined.
public void setComment(String comment); If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described using this comment.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.