http://de.php.net/manual/de/function.setcookie.php ist dein Freund.

Abfragen kannst du das Cookie dann per $_COOKIE.