Re: session cookies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux