Greetings all,

Im currently writing a web application in C and its going "ok" ive got my mysql support sorted out and handling GET requests but Im a little stuck in terms of cookies.

Does anyone know of any C librarys out there which have some form of cookie management ? Or if not id have to write my own which is ok apart from im not 100% sure how cookies are stored and how to handle them in the http request. Is there an environment variable for them like the QUERY_STRING one ?

From using PHP in the past ive seen the cookies created in /tmp directory so id imagine this is what i need to do, could someone explain what the procedure for setting a cookie and accessing it or point me to a website which I can learn how to do it.

Ive searched this forum and done some googling but cant find much in terms on an answer.

Thank you.

mrpickle.