RE: [PHP] Cookies
| From: | Chris W. Parker | Date: | Mon, 19 Apr 2004 21:40:05 +0000 |
| Subject: | RE: [PHP] Cookies | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-183876@lists.php.net to get a copy of this message | ||
Fidencio Monroy <mailto:fidencio_monroy@hotmail.com>
on Monday, April 19, 2004 2:35 PM said:
> Hi all, is there a way to check is a browser is accepting my cookies?
yes that's easy. set the cookie and then test for it. if you can read
the cookie back you're all set! if not, the person is not accepting
cookies. one thing to note, i think you have to change pages or refresh
the current page before you can read the cookie. i.e. you can't read and
write on the same page... ? i'm not totally sure.
chris.