Hello!
I don't want to alyways set a cookie when a user enters my page. I want to set it when the users logs on, not earlier.
The way is:
- "Login-Page": The user enters the page where he can enter his name/password in a form and then submits this form. Before this, no cookie should be set.
- "After Login-Page": Here the cookie is set for the first time. - If the user has enabled cookies, I want to show him his data. - If the user has disabled cookies, I want to show him a page saying that he should enable cookies.
I saw pages doing so, but how is it done? I seem not to be able to set and check a cookie on the same page (or am I wrong?)
Martin
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php