Re Re: [imp] Login Problem with InternetExplorer only

Volker Main v.main at htp-tel.de
Fri Jan 31 14:14:44 PST 2003


Hi Folks,

ok, I think I have similar problems like Ray Masa described on Sat, 14 Sep
2002 in this mailinglist.

------------------------------------------------
Ray wrote:
------------------------------------------------
>So far I have IMP configured and working.  I am noticing log in issues,
when
>attempting to log into either Horde or IMP:

>Horde log in issue:

>When I log in, first few times I get returned to the login screen (i.e. I
>don't get logged in).  I don't get any error messages, just get returned to
>the login screen.  If I keep trying, it eventually logs me in and presents
>the Horde main screen (where it shows how many new emails I have).

>Initially, I was getting the error that something is incorrect, probably
>username and/or password and to try again.  So, I deleted all the files,
>deleted the horde database and started over again.  Now, I don't get the
>error message, just get returned to the login screen.

>While configuring IMP, I have uncommented both of the following lines (so
>that I wont have to login twice):

>$this->registry['auth']['login'] = 'imp';
>$this->registry['auth']['logout'] = 'imp';

>I went back and commented both lines.  After that I was not able to log
into
>either Horde or IMP at all.  So I uncommented the lines back.  Now I can
log
>in, but still have the above issue.

>I am running FreeBSD, with mySQL on Apache server.

>I looked at the phpinfo() screen, but not sure what to look for to be able
>to solve this.  Any ideas?

>IMP log in issue:

>If I click on the "Mail" icon in the log in screen to log directly into IMP
>(and not into Horde), I always get the following error on the first
attempt:

>"Your Mail session has expired. Please login again."

>The second attempt logs me in correctly.

>Any ideas on how to solve this issue?

>Thanks for the code and for your help.

>Regards,

>Ray
----------------------------------------------------


----- Original Message -----
From: "Mailinglists" <mailinglists at grosvadsskolan.nu>
To: <imp at lists.horde.org>
Sent: Thursday, January 30, 2003 10:21 AM
Subject: Re: Re Re: [imp] Login Problem with InternetExplorer only


> Hello,
>
> I had this annoying problem during fall and tried to submit it as a bug,
but no
> one else seemed to get the same error, and Chuck tried to help me out by
> cleaning and resetting session etc but nothing helped (Bug 1022).
>
> I solved it this way:
>
> in imp/templates/login/login.php (an extract, (look at line 5,6):
>
>
> <form action="<?php echo Horde::applicationUrl('redirect.php') ?>"
> method="post" name="implogin">
> <input type="hidden" name="actionID" value="<?php echo $actionID ?>" />
> <input type="hidden" name="url" value="<?php
> //echo htmlspecialchars(Horde::getFormData('url'))
> //echo htmlspecialchars($GLOBALS['url']);
> ?>" />
> <input type="hidden" name="mailbox" value="<?php echo $prefs->getValue
> ('mailbox') ?>" />
> <input type="hidden" name="frameset" value="" />
> <?php
> $args = IMP::getComposeArgs('array'); foreach ($args as $arg => $value):
?>
> <input type="hidden" name="<?php echo htmlspecialchars($arg) ?>"
value="<?php
> echo htmlspecialchars($value) ?>" />
> <?php endforeach; ?>
>
> I don't know all the consequenses this hack gives, but I have no problem
with
> the login screen, that's for sure.
>
> Peter
>
>
> > we have tested it from different pcs nad all shows the same behavior.
> > Nevertheless I installed adaware and cleaned removed SpySoftwares.
> >
> > But the problem still consists ;-(
> >
> > It's unbelievable. With Netscape its ok, with IE we have it.
> >
> > cu
> > Volker
> > ----- Original Message -----
> > From: "Charlie Reitsma" <reitsmac at denison.edu>
> > To: "Volker Main" <v.main at htp-tel.de>
> > Sent: Wednesday, January 29, 2003 5:33 PM
> > Subject: Re: [imp] Login Problem with InternetExplorer only
> >
> >
> > > We had similar problems when horde/imp was the DocumentRoot of the
> > > server. What you write indicates this is not the case so our fix
> > > (changing the cookie_path from /horde to /) won't work.
> > >
> > > It does sound like you are being redirected so I would install
> > > lavasoft's adaware from www.lavasoft.de and see if it finds any thing
> > > like Common Name or Xupiter.
> > >
> > > Volker Main wrote:
> > > > Hello,
> > > >
> > > > i have the following magic problem; I hope someone can help me:
> > > >
> > > > I've installed the following components:
> > > >
> > > > - apache 1.3.26
> > > > - mysql 3.23.52
> > > > - php 4.2.3
> > > > - horde 2.2
> > > > - imp 3.1
> > > >
> > > >
> > > > I used the php session handling file based.
> > > >
> > > >
> > > > I've configured horde for imp single logon in
horde/config/registry.php:
> > > > $this->registry['auth']['login'] = 'imp';
> > > > $this->registry['auth']['logout'] = 'imp';
> > > >
> > > >
> > > > When I log in with InternetExplorer 5.0 5,5 6.0 with username and
> > password
> > > > to the URL http://mywebserver/horde/img
> > > > I get the message "Your Mail session has expired. Please login
again.".
> > > > Then I try it a second time with the same user/password in the same
> > browser
> > > > session it works fine.
> > > >
> > > > The horde.log file says:
> > > > // first attempt
> > > > Jan 29 16:32:28 HORDE [info] [imp] Session timeout for client
> > > > [193.254.18.51] [on line 79 of
"/var/www/webmail/horde/imp/login.php"]
> > > >
> > > > // second attempt
> > > > Jan 29 16:33:38 HORDE [notice] [imp] Login success for
vmain at htp-tel.de
> > > > [193.254.18.51] to {mail.htp-tel.de:143} [on line 64 of "/var/www/we
> > > > bmail/horde/imp/redirect.php"]
> > > >
> > > > If I close the browser and start new I get the same behavier.
> > > >
> > > >
> > > > If I try the same in Netscape (here v4.6) it works fine.
> > > >
> > > > In IE JavaSkript and Cookies are aktivated. The SessionHandlers in
the
> > > > tmp-directory appears:
> > > >
> > > > webmail01[admin] # pwd
> > > > /var/tmp
> > > > webmail01[admin] # ll
> > > > total 36
> > > > drwxrwxrwt   2 root     sys          512 Jan 29 16:10 ./
> > > > drwxr-xr-x  33 root     sys          512 Jan 27 16:10 ../
> > > > -rw-r--r--   1 nobody   nobody      7486 Jan 29 16:33 horde.log
> > > > -rw-------   1 nobody   nobody       722 Jan 29 16:33
> > > > sess_2dfb9340705f69607ad562a7bbf04d28
> > > > -rw-------   1 nobody   nobody       710 Jan 29 16:02
> > > > sess_2ff4f57c6f6f64f39ad85e74b17ffbfd
> > > > -rw-------   1 nobody   nobody        65 Jan 29 14:36
> > > > sess_35dfa637865851ff0717a27df86c9970
> > > > -rw-------   1 nobody   nobody        65 Jan 29 15:50
> > > > sess_9c65bec28e541808459d07fef46b762b
> > > > -rw-------   1 nobody   nobody        65 Jan 29 14:37
> > > > sess_b4c064dffb9c9ddd26199ebe3ef988e4
> > > > -rw-------   1 nobody   nobody        65 Jan 29 14:48
> > > > sess_fb59d5129f242bb3a0f6b6f067b73b76
> > > >
> > > >
> > > > Does anyone has an idea or need more information for debugging?
> > > > Whats wrong?
> > > >
> > > > Thank You..
> > > > Volker
> > > >
> > > >
> > >
> > >
> >
> >
> > --
> > IMP mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe at lists.horde.org
> >
>
>
>
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org



More information about the imp mailing list