Date: 08/22/01
- Next message: giancarlo pinerolo: "Re: [phplib] mailing-list for phplib user on 'sourceforge.net' ?"
- Previous message: Bryan McGuire: "Re: [phplib] current users?"
- In reply to: Bryan McGuire: "Re: [phplib] current users?"
- Next in thread: giancarlo pinerolo: "Re: [phplib] current users?"
- Reply: giancarlo pinerolo: "Re: [phplib] current users?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Aug 21, 2001 at 10:32:21PM -0700, Bryan McGuire wrote:
> Due to the stateless nature of http, this is dodgy at best. You
> understand this, and you need to educate your client on the nature of
> http and its limitations. Suppose that I am browsing an online store
> and the phone rings.
While you cannot tell who is currently "online" due to the
stateless nature of http, you could in theory tell which users
currently have valid authentications. PHPLIB does not properly
support this, though, because this is a vertical query and
PHPLIB keeps authentication data in a unstructured session BLOB
which does not lend itself well to any kind of vertical query.
We already had a similar discussion a few weeks ago on this
list.
If you want to be able to answer such questions as "how many
users are currently authenticated", you need to keep
authentication data outside of the session BLOB in a structured
table. Only then you will be able to run vertical queries on
such data efficiently. This is effectively a major rewrite of
Auth, or a very large subclass of Auth.
Kristian
-- Abbestellen mit Mail an: phplib-unsubscribe <email protected> Kommandoliste mit Mail an: phplib-help <email protected>
- Next message: giancarlo pinerolo: "Re: [phplib] mailing-list for phplib user on 'sourceforge.net' ?"
- Previous message: Bryan McGuire: "Re: [phplib] current users?"
- In reply to: Bryan McGuire: "Re: [phplib] current users?"
- Next in thread: giancarlo pinerolo: "Re: [phplib] current users?"
- Reply: giancarlo pinerolo: "Re: [phplib] current users?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

