-
Notifications
You must be signed in to change notification settings - Fork 2
REQ_COOKIE
Jurek Muszyński edited this page Jan 4, 2022
·
1 revision
Retrieves cookie value. value can be up to NPP_MAX_VALUE_LEN + '0' length.
Returns true if cookie with name is present in the request, otherwise false.
char sess_data[NPP_MAX_VALUE_LEN+1];
if ( REQ_COOKIE("sess_data", sess_data) )
// use sess_data