[imp] custom prefs/ session question

Ben Wilson bwilson at networkservices.net
Thu Dec 5 20:23:33 2002


Awesome, thanks.

Now I have another question :)

When I update the users IMAP password in the database, IMP is
still caching their old one, and you get logged out with a bad
password error if you try going back to your INBOX. 

Any way I can update the cached password also?


* On Thu, Dec 05, 2002 at 06:01:50PM +0100, I received from Jan Schneider:
> Zitat von Ben Wilson <bwilson@networkservices.net>:
> 
> > Hi,
> >   I'm trying to add a section to the "Options" menu that lets
> > uses change their account info in the MySQL database that my
> > Courier server authenticates with. The "hooks" work great, and I
> > can pull there name, email, aliases from it OK.
> > 
> >   What I have done is added an account section to the
> > $prefGroups array, set $_prefs to "special" and created a short
> > form in templates/prefs/ to update the user info.
> > 
> >   The problem I have is how do I get the values submitted when
> > "Save Settings" is clicked? I am pretty new to PHP, and trying
> > to fit all of Horde into my head at once hurts :)
> 
> This is done in imp/prefs.php. Look for the UPDATE_PREFS/'special' section
> and enter your own case section similar to the existing ones. Assuming
> you're using IMP 3.x.
> 
> Jan.
> 
> --
> http://www.horde.org - The Horde Project
> http://www.ammma.de - discover your knowledge
> http://www.tip4all.de - Deine private Tippgemeinschaft
> 
> -- 
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 

-- 
Ben Wilson
Network Services
717-985-9850
www.networkservices.net


More information about the imp mailing list