Is it a php site you're tryin to do the setcookie with?