. Retrieving data from the session (i.e. the
> unserialize() function) is much less expensive then going to LDAP
for
> every hit to the web app.
Thanks. That's what I'm doing now, and it really makes a difference., but
still, I don't know why the LDAP query takes
ime I call this function.
mod_ldap stores the user's dn on the REMOTE_USER environment variable.
Here's the function. I don't know how to make it faster.
Thanks,
Emilio Panighetti
ldap://".$s_ldapserver.":".$s_ldapport );
ldap_set_option( $ds, LDAP_OPT_PROTOC
It depends... if you have a handful of records, you might start with a flat
file. but if you think you'll get to hundreds of records, go with a
database.
Even if all you want is a small array of data, go with a database.
If all you want is a simple array, you might consider use DBM files (Look
at
ime I call this function.
mod_ldap stores the user's dn on the REMOTE_USER environment variable.
Here's the function. I don't know how to make it faster.
Thanks,
Emilio Panighetti
ldap://".$s_ldapserver.":".$s_ldapport );
ldap_set_option( $ds, LDAP_OPT_PROTOC
4 matches
Mail list logo