[imp] Login (horde auth = 'imp') always returns "Login failed for some reason..."

David Peoples davidp@touringcyclist.com
Mon, 5 Nov 2001 16:49:23 -0600


I just reviewed the PHP on-line session documentation 
(http://www.php.net/manual/en/ref.session.php) and there is maybe a simple 
answer. You have 'register_globals' turned on in php.ini, I have it turned 
off. The PHP documentation as I read it says this shouldn't make any 
difference, but comments below the official docs say that setting 
register_globals _on_ means that changes made to the $HTTP_SESSION_VARS array 
are ignored when saving the session, and only the _other_ global variables 
are saved. Try switching that setting first before doing anything else and 
see what happens. (I haven't tested it here.)

If setting register_globals=off will break some other part of your 
installation, I'm pretty sure you can set it just for the horde directory in 
the httpd.conf file. I don't know if it is a 'php_flag' or a 'php_admin_flag'.

David

-- 
David Peoples
The Touring Cyclist, 11816 St. Charles Rock Road, Bridgeton, MO 63044 USA
davidp@touringcyclist.com  http://www.touringcyclist.com
tel: 314-739-4648  fax: 314-739-4972