- Original Message -
From: "Ben" <[EMAIL PROTECTED]>
Newsgroups: php.general
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Sent: Wednesday, September 14, 2005 7:35 PM
Subject: Re: [PHP] trying to figure out the best/efficient way to tell who
is logged into
Gustav Wiberg wrote:
All you guys, please comment if the code is well or bad written and
why... :-)
Since you asked, a few things popped out from a security perspective,
though I didn't read through your code very thoroughly
Why limit your usernames/passwords to lower case? You've
bruce wrote:
as an exercise, i took a look at mambo (the cms) and realized that it
doesn't handle users who simply shut down their browser while on the
system...
thoughts/comments...
The only way to deal with such situations is through a garbage
collection routine that periodically deletes o
tion.
>
>
> -Original Message-
> From: Jason Barnett [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 13, 2005 2:25 PM
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] trying to figure out the best/efficient way to tell
> who is logged into a site..
>
&g
bject: Re: [PHP] trying to figure out the best/efficient way to tell
who is logged into a site..
Close: You mix both of these ideas.
Create a custom session handler. This handler creates user entries in a
database. Then when you want to know how many are online you do a count on
the number of
-thanks
bruce
-Original Message-
From: Jason Barnett [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 13, 2005 2:25 PM
Cc: php-general@lists.php.net
Subject: Re: [PHP] trying to figure out the best/efficient way to tell
who is logged into a site..
Close: You mix both of these i
- Original Message -
From: "Jason Barnett" <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, September 13, 2005 11:25 PM
Subject: Re: [PHP] trying to figure out the best/efficient way to tell who
is logged into a site..
Close: You mix both of these ideas.
Create a custom sessi
Close: You mix both of these ideas.
Create a custom session handler. This handler creates user entries in a
database. Then when you want to know how many are online you do a count on
the number of user entries in the table. Play around with different
gc_probability values to tune the efficiency
hi...
anybody have pointers to trying to tell who/how long someone is logged into
a system/site. i've thought about setting a session var, but i'm not sure
how to read/tabulate this var across the entire group of people who'd be
logged in. i've also thought about keeping track in a db tbl.. howeve
9 matches
Mail list logo