[dev] Same contacts in imp (for multiple servers)

Chuck Hagenbuch chuck@horde.org
Tue, 22 May 2001 16:37:36 -0400


Quoting Jarno Huuskonen <Jarno.Huuskonen@uku.fi>:

> I made small changes to imp/lib/db.mysql: where imp_addr table is
> queried/modified only 'user' is used as a key.
> This seems to work just fine, but can you think anything this change will 
> break ?
> (Users can only select servers that are defined in configuration, and they
> have the same username in every server (so user A can't connect to his/her 
> own server as user B and get access to B's contacts).

Under those circumstances, you're fine.

> (I tried to modify db.mysql so preferences would use only 'user' as key, but
> then I had problems with session management: After logging out from server a
> and trying to login to server b imp would open server a mailbox. Does the
> preferences play any part in session management ?)

This doesn't sound like something 2.2 would do, but without actually seeing 
your changes, I can't be sure.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Black and white and grey, all the shades of truth.