On 23 June 2010 07:44, Tommy Pham wrote:
>> -Original Message-
>> From: James Colannino [mailto:ja...@colannino.org]
>> Sent: Tuesday, June 22, 2010 10:06 PM
>> To: PHP-General List
>> Subject: Re: [PHP] Question about logins and locking
>>
>> Tom
> -Original Message-
> From: James Colannino [mailto:ja...@colannino.org]
> Sent: Tuesday, June 22, 2010 10:06 PM
> To: PHP-General List
> Subject: Re: [PHP] Question about logins and locking
>
> Tommy Pham wrote:
>
> > 1) Set an encrypted (to prevent hijac
Tommy Pham wrote:
> 1) Set an encrypted (to prevent hijacking and eavesdropping) cookie to
> expire when browser closes
> 2) Have a table in the DB backend to keep track if the user is logged in or
> not and when was the last time the validated user access your site (this
> gets updated when the u
> -Original Message-
> From: James Colannino [mailto:ja...@colannino.org]
> Sent: Tuesday, June 22, 2010 2:29 PM
> To: php-general@lists.php.net
> Subject: [PHP] Question about logins and locking
>
> Hey everyone,
>
> I have a question about logins. Let'
Hey everyone,
I have a question about logins. Let's say that I want to allow each
user account to login only once at a time. I would then need some kind
of locking mechanism to make sure that the same user can't login again
somewhere else until first logging off. What's a good way to achieve
th
5 matches
Mail list logo