Poster of Linux kernelThe best gift for a Linux geek
cgiGetCookies

cgiGetCookies

Section: Programmer's Manual (3) Updated: 6 April 2008
Local index Up
 

NAME

cgiGetCookies - Returns a list of cookies  

SYNOPSYS

#include <cgi.h>

char **cgiGetCookies (s_cgi *parms);
 

DESCRIPTION

This routine returns a NULL terminated array of names of cookies that were transmitted by the client. To get the value of a cookie you'll have to use cgiGetCookie(3). To free the memory allocated for the array, use cgiFreeList(3).  

RETURN VALUE

On success a NULL terminated array of strings is returned. The last element is set to NULL. If an error occurred or if no cookies were available NULL is returned.  

AUTHOR

This CGI library is written by Martin Schulze <joey@infodrom.org>. If you have additions or improvements please get in touch with him.  

SEE ALSO

cgiGetValue(3), cgiGetVariables(3), cgiGetCookie(3), cgiFreeList(3), cgiDebug(3), cgiHeader(3), cgiInit(3).


 

Index

NAME
SYNOPSYS
DESCRIPTION
RETURN VALUE
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 22:06:21 GMT, April 16, 2011