Re: Detect first entering
| From: | Eris Ristemena | Date: | Tue, 18 Jul 2000 10:18:04 +0000 |
| Subject: | Re: Detect first entering | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-7049@lists.php.net to get a copy of this message | ||
>Dear Expert
>
>How to detect if the user first time enter?
>i mean that if he first enter,the message will appear
>but the message won't appear already although refresh or doing somethings
>only he gets out and come back,the message will be prompted out again
i think you need to use cookies (see setcookie() in your manual),
make a little trick that if the user 'get out' (i usually put a button like
'log out') then the cookies deleted.
So if he/she gets back, your server will recognize him/her as a new comer,
then the message will appear.
- eris