Re: session cookies

From: Date: Thu, 01 Sep 2005 19:53:12 +0000
Subject: Re: session cookies
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-221719@lists.php.net to get a copy of this message
Is there a way, using PHP, to determine if session cookies are enabled (or disabled) in the user's browser privacy settings?
Set a cookie using setcookie(). Then use an HTML meta refresh (or javascript, just not Header("Location...) to redirect them to another page. On that page, see if the cookie value is set. If it is, they have cookies enabled. If it's not, they don't. -philip

« previous php.general (#221719) next »