[imp] Enabling cookies

Eric Rostetter eric.rostetter@physics.utexas.edu
Wed, 3 Jul 2002 15:04:43 -0500


Quoting Don P <donp@audiport.com>:

> I've been running IMP for quite some time without cookies (not on purpose).

Okay.

> The 
> webmail server was hacked via session info in the URL so I'd like get session
> cookies up and running.

Are you sure that was how it was hacked???
 
> I've searched the archives, FAQ and docs to no avail. I see folks talking
> about disabling cookies but not much about enabling them. 

First, start with your php.ini file.  The most important
settings in there are:

session.use_cookies = 1
session.name = "Horde"

You may also need to tweak session.cookie_lifetime, 
session.cookie_path, session.cookie_domain, session.gc_maxlifetime,
and/or session.gc_probability.

Inside horde, make sure horde/config/registry.php agrees with
your php.ini for the variables:

cookie_domain
cookie_path

> Can somebody provide or point me to info on what I should check/tweak to get 
> cookies working. The browser has cookies enabled.
> 
> Thanks.

-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

"TAD (Technology Attachment Disorder) is an unshakable, impractical devotion
to a brand, platform, product line, or programming language. It's relatively
harmless among the rank and file, but when management is afflicted the damage
can be measured in dollars. It's also contagious -- someone with sufficient
political clout can infect an entire organization."

--"Enterprise Strategies" columnist Tom Yager.