Re: User ID's
| From: | Martin Cameron | Date: | Mon, 23 Jul 2001 10:56:54 +0000 |
| Subject: | Re: User ID's | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-59174@lists.php.net to get a copy of this message | ||
Try Sessions, bud. That's what they're there for.
On Mon, 23 Jul 2001 21:46, you wrote:
> Hi all,
> I need store all the userid's connected to my site, in a
> database. the database, if the user has closed his browser a php script
> will check after intervals of a few minutes, if the user is not logged in,
> then changed relating to that user, will be undone.
> my quesiotns are ,
>
> 1) how do i get a user's ID.
> 2) what sort of check do i put to see if the variable is destroyed or not.
>
> thanx in advance