How can I tell reliably if someone has cookies turned off?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
On 6 Mar 2001 07:53:46 -0800, kevin1 [EMAIL PROTECTED] wrote:
How can I tell reliably if someone has cookies turned off?
Set a cookie on your site (perhaps the homepage?) and use code like this:
if (!empty($UserHasCookies)) {
echo 'Whew - you do have cookies';
}
Something else to consider is that if someone is kinda smart they can place
the
variable into the url. So, if it is important you may want to put a
checksum or token in there.
Rick
At 08:52 AM 3/6/01 -0800, you wrote:
On 6 Mar 2001 07:53:46 -0800, kevin1 [EMAIL PROTECTED] wrote:
How can I
you can check the HTTP_COOKIE_VARS array after setting a cookie to see
if anything is placed in there.
Rick
At 08:52 AM 3/6/01 -0800, Chris Adams wrote:
On 6 Mar 2001 07:53:46 -0800, kevin1 [EMAIL PROTECTED] wrote:
How can I tell reliably if someone has cookies turned off?
Set a cookie on
4 matches
Mail list logo