[imp] Re: imp Digest, Vol 888, Issue 1

tdrewry at bu.edu tdrewry at bu.edu
Mon Oct 4 12:48:05 PDT 2004


>> Zitat von tdrewry at bu.edu:
>>
>> the Setup:
>>
>> Server (solaris)
>> - Horde/IMP/Turba/Ingo CVS versions 3,4,2 and 1 accordingly.
>>
>> - Horde is configured with http authentication.
>>
>> - Imp is setup to use hordeauth and we only have single server configured.
>>
>> Over ethernet this works like a champ.
>>
>> the Problem:
>>
>> So, we have people dialing up and accessing Horde/IMP.  If this
>> client is using
>> IE, Netscape 7.x or even AOL's 'Web browers', there is no problem.  However,
>> when
>> a client access Horde/IMP via firefox or mozilla IMP fails to
>> successfully grab
>> the credentials.  The client is presented with the IMP login page (very much
>> not what is desired since it's not really configured to go anywhere) and a
>> successful click of the browsers refresh key corrects the error and displays
>> the mail box correctly.
>>
>> the Question:
>>
>> Is this a resolvable issue from withing IMP? Or should I be pointing
>> my concerns
>> over to Mozilla and Firefox's people?

> From: Jan Schneider <jan at horde.org>
>
> First of all, check with a newer Firefox version if this is not the most
> recent one. If it still happens, compare the HTTP headers that the browsers
> send when accessing IMP *after* doing the HTTP authentication.
>
> Jan.

Okay, so I have done this.  I've pulled out the headers from the IMP 
frame under
a successful and failed login attempt.  They are as follows:

Successful:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<!-- IMP: Copyright 2001-2004, The Horde Project. IMP is under the GPL. -->
<!--   Horde Project: http://horde.org/ | IMP: http://horde.org/imp/    -->
<!--      GNU Public License: http://www.fsf.org/copyleft/gpl.html      -->
<html lang="en-US"><head>
<title>Mail :: Inbox (144)</title>
<link rel="SHORTCUT ICON" href="/webmail/horde/imp/graphics/favicon.ico" />
<link rel="Top" href="/webmail/horde/imp/mailbox.php?mailbox=INBOX" />
<link rel="search" href="/webmail/horde/imp/search.php" />
<link href="/webmail/horde/services/css.php?app=imp&theme=bluewhite"
rel="stylesheet" type="text/css" /></head>

<body> ...

Failed:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<!-- IMP: Copyright 2001-2004, The Horde Project. IMP is under the GPL. -->
<!--   Horde Project: http://horde.org/ | IMP: http://horde.org/imp/    -->
<!--      GNU Public License: http://www.fsf.org/copyleft/gpl.html      -->
<html lang="en-US"><head>
<script language="JavaScript" type="text/javascript"
src="/webmail/horde/services/javascript.php?file=enter_key_trap.js&app=horde"></script>
<title>Mail :: Welcome to Mail</title>
<link rel="SHORTCUT ICON" href="/webmail/horde/imp/graphics/favicon.ico" />
<link rel="Top" href="/webmail/horde/imp/mailbox.php?mailbox=INBOX" />
<link rel="search" href="/webmail/horde/imp/search.php" />
<link href="/webmail/horde/services/css.php?app=imp&theme=bluewhite"
rel="stylesheet" type="text/css" /></head>

<body> ...


The only difference I'm finding is that the failed login page loads the
javascript listed above.  Although I'm not sure how to prevent this.  Also,
I've now had a weekend to test this from home with other modem/slow internet
connection devices and found that 9 out of 10 times I get the failed
login/Please Login page.

Right now, the only thing I can think of is to alter the login.inc to push a
full page refresh out when it's loaded.  I'm worried that this might cause a
looping behaviour(which would be bad).  Any ideas?

Toby

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the imp mailing list