Re Re: [imp] Login Problem with InternetExplorer only

Mailinglists mailinglists at grosvadsskolan.nu
Thu Jan 30 10:21:48 PST 2003


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
> 




More information about the imp mailing list