[horde] imp display mode variable?

Rick Romero rick at havokmon.com
Thu Dec 5 18:42:24 UTC 2013


Quoting Jan Schneider <jan at horde.org>:

> Zitat von Rick Romero <rick at havokmon.com>:
>
>> Hey guys - I feel a bit ashamed for asking this, but I'm having a  
>> problem finding what I'm looking for...
>>
>> I have a custom login form for multiple webmail systems, and I  
>> store a cookie in the postauthenticate hook that 'remembers' the  
>> last webmail option chosen.  Some of my users aren't so keen on the  
>> new dynamic Horde, but I want it to be default, so I added the  
>> select dropdown to my login menu.
>>
>> What variable stores that choice, and would be available to the  
>> postauthenticate hook?  I thought maybe something in the $browser  
>> object, but I'm not sure how to extrapolate the data it contains..
>>
>> Help :)
>>
>> Thanks,
>> Rick
>
> Are you talking about where it's stored inbetween sessions? That's  
> the default_horde_view cookie.

Oh.  Duh. I didn't think that preference was being saved, so I was  
really looking for the variable name used during the session, but I  
can just read the cookie in postauth hook and write the contents to a  
new cookie in the domain root.

Thanks!
Rick



More information about the horde mailing list