Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

Re: [PHP3] cookie on/off: how to tell? From: amalesh kempf (ak-lsml <email protected>)
Date: 01/28/99

On Thu, 28 Jan 1999 21:47:27 +0800 (HKT), you wrote:

>I wonder how in my script tell whether a user has turn off or on his
>cookie (e.g. he answers "no" to "set cookie...?" in browser) in his
>browser? I can't simply check for the variable of cookie beiing set
>because he might be using cookie of another session/user...

Create a cookie with an unique content and check back the content. If it's
empty, the user turned off his cookies.

ciao

amalesh

--
url  : http://www.living-source.com
email: ak <email protected>
Keep Agent alive: http://www.living-source.com/agent/

-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>