CCookie::getName

The CCookie::getName function retrieves the name of the cookie.

chchar * getName();


Return Type

chchar *
Upon successful completion, a string which contains the name of the cookie is returned. Otherwise, NULL is returned.


Parameters

None.


Remarks

This function retrieves the name of the cookie. The CCookie::setName function can be used to set name of the cookie.


See Also

CCookie, CCookie::setName, CResponse::addCookie, CRequest::getCookies, CRequest::getCookie

Example