[imp] Possible to Pass in Session Variable / Value?

Jan Schneider jan at horde.org
Sat Jun 7 02:25:31 PDT 2003

Zitat von Lee <lee at disinfo.com>:

> Hey All,
> im trying to pass in a "theme" value from the login page of imp that
> will be available to every page in imp/horde/turba throughout every
> page during a user's session. Essentially im trying to let the user
> load webmail.domain.com?theme=black and then use the value of $theme in
> the horde/imp/turba templates. I have everything doen in templates, i
> just need to now figure how to make the theme value available in the
> user's session.

$_SESSION['theme'] = $theme

But why don't you just use the builtin theme support?


http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft

More information about the imp mailing list