Perhaps someone with direct experience with cookies that don't expire can answer this better, but you might want to try this:
// set the cookie with time = 0
setcookie("project",$HTTP_POST_VARS['form_project'],0);
// delete the cookie as in the other example
setcookie("project","",0);
Hope this helps!