[chora] Obscure problem

Ahmed ashihab@alcahest.com
Thu, 28 Feb 2002 15:48:52 +0000


Jan,

> Hm, that's strange. The redirection to the login screen is done in
> the lib/base.php file of each Horde application. The only 
> difference I can see by a quick look between Chora and the other
> apps is that authentication check is done very late in base.php.
> You can try moving the "if (!Auth::getAuth..." part just under the
> registry initialization further above in the same file. But 
> this is just a wild guess. ;-)

I've tried moving the auth lines to the area just below the registery 
definitions in lib/base.php, that resulted in a whole new horde frame 
being spawned instead of just the login screen.

I've also discovered that from the horde view (summary page) if I 
refersh the summary page I get dropped back into the login screen 
again. when I checked the access logs for apache I see the refreshed 
pages are requested with a different session ID(?). Maybe there is a 
clue there?

So the problem may not be restricted to Chora ???

anyway here is what I see when I try to go to chora:

-- snip
ns.alcahest.com - ashihab [28/Feb/2002:15:41:52 
+0000] "GET /horde/chora/?Horde=8cfba53c49d3c858f58f9d8e084f9568 
HTTP/1.1" 302 5 "http://localhost/horde/menu.php?
Horde=8cfba53c49d3c858f58f9d8e084f9568" "Mozilla/4.0 (compatible; 
MSIE 5.5; Windows NT 5.0)"

ns.alcahest.com - ashihab [28/Feb/2002:15:41:52 
+0000] "GET /horde/chora/cvs.php HTTP/1.1" 302 
13 "http://localhost/horde/menu.php?
Horde=8cfba53c49d3c858f58f9d8e084f9568" "Mozilla/4.0 (compatible; 
MSIE 5.5; Windows NT 5.0)"

ns.alcahest.com - ashihab [28/Feb/2002:15:41:52 
+0000] "GET /horde/login.php?
Horde=2c340c8ac994d8846b22035145539bcf&url=%2Fhorde%2Fchora%2Fcvs.php%
3FHorde%3D2c340c8ac994d8846b22035145539bcf HTTP/1.1" 302 
5 "http://localhost/horde/menu.php?
Horde=8cfba53c49d3c858f58f9d8e084f9568" "Mozilla/4.0 (compatible; 
MSIE 5.5; Windows NT 5.0)"

ns.alcahest.com - ashihab [28/Feb/2002:15:41:52 
+0000] "GET /horde/imp/login.php?url=%2Fhorde%2Fchora%2Fcvs.php%
3FHorde%
3D2c340c8ac994d8846b22035145539bcf&Horde=2c340c8ac994d8846b22035145539
bcf HTTP/1.1" 200 3630 "http://localhost/horde/menu.php?
Horde=8cfba53c49d3c858f58f9d8e084f9568" "Mozilla/4.0 (compatible; 
MSIE 5.5; Windows NT 5.0)"
-- snip

notice the change in the session ID as the request goes through? is 
thta normal?

Ahmed...