CCookie::getValue

The CCookie::getValue function retrieves the value of the cookie.

chchar * getValue();


Return Type

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


Parameters

None.


Remarks

This function retrieves the value of the cookie. The CCookie::setValue function can be used to set value of the cookie.


See Also

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

Example