[imp] Pre-load contacts?
Joseph Santaniello
jsantaniello@nowcom.com
Mon, 14 May 2001 17:33:08 -0700 (PDT)
There will be lots of users and they won't be constant with new users all the
time. I guess I'll look into the ImpSession.
This is the first time I ever wished I could use a stored procedure with MySQL!
Thanks.
Joseph
Quoting Chuck Hagenbuch <chuck@horde.org>:
> Quoting Joseph Santaniello <jsantaniello@nowcom.com>:
>
> > I'm using Horde 1.2.4 and IMP 2.2.4 and the contacts are stored in a
> MySQL
> > database, pretty much a "stock" install from the tarballs.
>
> Well, how many users do you have? Is it out of the question to just
> pre-load
> the db for all users (probably, if you have any decent amount).
> Otherwise, I'd
> suggest writing a hook in the initial login code (session creation -
> ImpSession
> class) that checks a table to see if a user is initialized, and if not
> preps
> their contacts.
>
> -chuck
>
> --
> Charles Hagenbuch, <chuck@horde.org>
> "When you can't even start, it's time to stop" - Jason
>
> --
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>