php-db | 2001071
Date: 07/06/01
- Next message: Mat Marlow: "[PHP-DB] TEXT fields without line breaks"
- Previous message: Mats Remman: "RE: [PHP-DB] Newbie:Backend scripts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Here's the way I check:
-Set a cookie on the user's machine. I name mine sessionid.
-Redirect to a new page using header("location: acceptcookies.php");
-On the new page, check to see if the variable has a value. For
example, I would check to see if $sessionid=="" and if it's true then
their machine didn't accept the cookie (or the cookie was set with a
blank value). If it's false then the cookie was set correctly.
Hope this helps.
-Angela
>anyone have a good method or code snippet to check if
>the user is accepting cookies?
>
>Thanks
>
>luis
>
>__________________________________________________
>Do You Yahoo!?
>Get personalized email addresses from Yahoo! Mail
>http://personal.mail.yahoo.com/
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Mat Marlow: "[PHP-DB] TEXT fields without line breaks"
- Previous message: Mats Remman: "RE: [PHP-DB] Newbie:Backend scripts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

