Re: [PHPLIB-DEV] Incompatible change to active_sessions and auth_user From: Massimiliano Masserelli (negro <email protected>)
Date: 11/08/99

On Sat, Nov 06, 1999 at 09:53:21PM +0100, Kristian Koehntopp wrote:

 KK> I propose an incompatible change to PHPLIB which will require both,
 KK> active_sessions and auth_user to be change. The change will obviate
 KK> the need for both active_sessions_split and auth_user_md5.
 
What about going further in the way of incompatibility and try using
the "BLOB" support I wrote some time ago? At present it uses the same
technique of active_sessions_split, but a subclass may implement
data storage in a more "db-friendly" format, which may lead up to
significant speed improvements. Currently, when you touch the current
session timestamp, you have to mark all of the rows containing splitted
data. Having a separate container means you have to touch only one row
in the active session db.

We may also produce a "new" class implementing the new features, maintaing
the old one for compatibility purpose.

And, please, since we're breaking compatibility, could we name the fields
in the db with a "safe" prefix (like I did for active_sessions_split
and blob_sql)? Something like php_sid, php_name, etc...

Apart from that, I like the proposed changes, expecially those related to
auth_user. Maybe we should force the usage of encrypted pwds in the db,
I'm not quite sure about it, but maybe it could be a GOOD THING(tm).

Bye.

--
     Massimiliano Masserelli       |     URL:    http://www.interim.it/
     Internet Images S.r.l.        |     Tel:    +39-051-3390671
     vicolo Viazzolo, 3            |     Fax:    +39-051-557890
     40124 - Bologna - Italy       |
-------------------------------------------------------------------------------
Youth.  It's a wonder that anyone ever outgrows it.
-
PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in
the body, not the subject, of your message.