CCookie::getCommentURL
The CCookie::getCommentURL function retrieves the CommentURL attribute of te cookie.
chchar *getCommentURL();
Return Type
chchar *
Upon successful completion, a string which contains the value of the CommentURL attribute of the cookie is returned. Otherwise, NULL is returned.
Parameters
None.
Remarks
This function retrieves the CommentURL attribute of the cookie. Because cookies can be used to derive or store private information about a user, the CommentURL attribute allows an origin server to document how it intends to use the cookie. The user can inspect the information identified by the URL to decide whether to initiate or continue a session with this cookie.
Attribute of CommentURL are not supported by Netscape Cookies Version 0
The CCookie::setCommentURL function can be used to set the CommentURL attribute of the cookie.
See Also
CCookie, CCookie::setCommentURL, CResponse::addCookie, CRequest::getCookies, CRequest::getCookie
Example