HttpGetCookie


const char *HttpGetCookie ( HttpConnection hConn , const char *pCookie )




 
Gets a single cookie of the current request.

 
hConn pointer to the connection data.
 
pCookie is the name of the cookie.
 
 

Returns a pointer to the cookie or NULL if not found. (i.e.: "abcd;  next=xyz;")

Note: The cookie value is only valid until the next ';' sign.
 

 

see also:

AzHttp Overview | HttpAddCookie | HttpGetCookieValue | HttpGetCookies