RE: [PHP] Determingin if cookies are useable?

From: Date: Sun, 18 Feb 2001 15:27:28 +0000
Subject: RE: [PHP] Determingin if cookies are useable?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40422@lists.php.net to get a copy of this message
hmmm... what i would do is set a cookie named "cookies_enabled" in the very beginning of your site, and check for the presense of that variable in places that you need cookie functionality... logically, if $cookies_enabled isnt set, it means that the cookie doesnt exist (and thus cookie support for the browser is lacking or dismal) > -----Original Message----- > From: John Vanderbeck [mailto:agathorn@cfl.rr.com] > Subject: Re: [PHP] Determingin if cookies are useable? > > Well, since cookies are set in the header, I would say you would have to at > least refresh the same page. I'm just putting a cookie into my home page > for now. and it will be checked in just afew areas of the site that REQUIRE > the cookies to work right. > > - John Vanderbeck > - Admin, GameDesign

« previous php.general (#40422) next »