Re: Detection of no cookies?

From: Date: Thu, 12 Jul 2001 12:35:57 +0000
Subject: Re: Detection of no cookies?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-57579@lists.php.net to get a copy of this message
madmax@mip.sdu.dk (Orv î‰÷inklÏ ²ørÏkîskî) wrote: > Hi php'ers > > Since I have a site that relies on cookies it would be good to > detect if a user has turned them off. > How cat I determine if that is the case? a hack could be just to try to set one, like if (setcookie(...)) { "the user has cookies"; } else { echo "No cookies"; exit; } -- Henrik Hansen

« previous php.general (#57579) next »