- 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 a site..
Gustav Wiberg wrote:
All you
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
?php
function chkIfPasswordTrue($un, $pw, $typeUser) {
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..
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
- Original Message -
From: Jason Barnett [EMAIL PROTECTED]
Cc: php-general@lists.php.net
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
any code/pointers to this...
i've been doing the google/search thing and haven't come across anything
which relates to what i'm searching for...
so.. any help in this area would be greatly appreciated!!
i would have thought there would be articles/open course code/apps on this!!
-thanks
bruce
any code/pointers to this...
i've been doing the google/search thing and haven't come across anything
which relates to what i'm searching for...
so.. any help in this area would be greatly appreciated!!
i would have thought there would be articles/open course code/apps on this!!
-thanks
ok
still have questions regarding how to handle a user/session of a user who
kills their browser. in this case, the user's session information would
still be in the db for the session handler...
am i correct in understanding/assuming that i could iterate through the list
of sessions in the
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
9 matches
Mail list logo