Testing if cookies are enabled
| From: | Martin Schneider | Date: | Mon, 21 Jun 2004 08:59:09 +0000 |
| Subject: | Testing if cookies are enabled | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-188727@lists.php.net to get a copy of this message | ||
Hello!
I saw this on some pages and want to do the same:
- On one page the user can login. Before that no cookie is set!
- On the next page they set the cookie and show either the user data or a warning that the user has disabled cookies and should enable them.
I wasn't able to set and text a cookie on the same page! How is it done?
Martin