How to ensure cookies are turned on.

From: Date: Mon, 29 Nov 2004 22:50:53 +0000
Subject: How to ensure cookies are turned on.
Groups: php.general 
Request: Send a blank email to php-general+get-203097@lists.php.net to get a copy of this message
Hello; I’m working on a website that uses sessions as an integral part of the site. If cookies are not turned on in the browser, my site will not work. I’ve been searching unsuccessfully to find the way to determine if the browser has cookies enabled. I want to warn the user that the site won’t work if they have cookies turned off. There must be some global variable that tells me. Could someone help me out? Thanks in advance, Gary

« previous php.general (#203097) next »