Re: How to ensure cookies are turned on.

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

 



Gary Reimer wrote:
Hello;

I’m working on a website that uses sessions as an integral part of the site. If cookies are not turned on in the browser, my site will not work. I’ve been searching unsuccessfully to find the way to determine if the browser has cookies enabled. I want to warn the user that the site won’t work if they have cookies turned off. There must be some global variable that tells me. Could someone help me out?

If the cookie you set is not send back, the cookies are turned off (unless you screwed up). You can redirect user to a "turn on your cookies" page at a point where cookies are really required and none is send.


--
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