In php you would set a cookie by doing
Setting new cookie
=============================
<?php
setcookie("name","value",time()+$int);
/*name is your cookie's name
value is cookie's value
$int is time of cookie expires*/
?>
Getting Cookie
=============================
<?php
echo $_COOKIE["your cookie name"];
?>
How do you set and read cookie?
I can't seem to find any articles on the web explaining hoe to do this. In fact there is not many c web development article
The G-WAN tar ball includes 2 sample source code files related to cookies: cookie.c (set a cookie)
and cookies.c (read cookies)