that does not work since cookie will just be available on the next page.. try tesp.php <? if (!(isset(cookietest))) { setcookie(blahblah...); //new request, so cookie will be send to server header("Location: test.php?cookietest=yes"); exit; } else { if (sizeof($HTTP_COOKIE_VARS)<1) { die ("I WANT COOKIES!!!!"); } } should do it... > a hack could be just to try to set one, like > > if (setcookie(...)) { > "the user has cookies"; > } else { > echo "No cookies"; > exit; > } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]