testing for cookies capable client (browser)

From: Date: Sun, 03 Feb 2002 04:29:44 +0000
Subject: testing for cookies capable client (browser)
Groups: php.general 
Request: Send a blank email to php-general+get-83287@lists.php.net to get a copy of this message
Hi, Is there a simple method for checking if cookies are enabled (able to be set) on a browser? The only method I can think of is setting the cookie, then refreshing the page (or going to another URL) in order to tet if the cookie exists... which sounds messy. I'd prefer not to use anything client-side (javascript etc). Has anyone got some code (simular to above, or a better solution) or examples they can post? Justin French

« previous php.general (#83287) next »