Testing for cookie?
| From: | Martin Schneider | Date: | Mon, 21 Jun 2004 08:43:59 +0000 |
| Subject: | Testing for cookie? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-188726@lists.php.net to get a copy of this message | ||
Hello!
Okay, I saw pages doing this and I want exactly the same:
- On a page the user can login. Before, no cookie is set.
- On the next page, the cookie is set. It shows either the user data (is the login was correct and cookies where enabled) or a page which tells that cookies are disabled.
So how is it done? I was not able to set and test a cookie on the same page.
Martin