php4 session problem
Yohann Fourteau
yohann.fourteau@shom.fr
Sat, 24 Feb 2001 00:31:49 +0100
Hi,
I use imp 2.3.7-cvs (the last version with scope in sql preference
base).
The login doesn't work at all :
The form appears only one time, after if I try to login and to go back
to the login form page that the page is "locked" and I can't have access
to the login form again.
I have modify login.php and index.php in the imp directory to know where
it locks.
It's the session_start() call who locks all the pages.
If I try that simple page :
-------8<--------
<?
session_name("Horde");
session_start();
?>
------->8--------
It locks...
I must shutdown my netscape and that simple page works normaly again. I
attempt to login into imp and the simple page doesn't work any more.
When I sniff the network, the apache server answers just one packet and
let the connexion open, so my browser waits for him and it locks...
In the /tmp/sess_80e5ec7f08397006a507e8ffe9f09c2c :
-------8<--------
prefs_cache|a:30:{s:8:"language";a:2:{s:3:"val";s:2:"en";s:3:"acl";i:2;}s:8:"mailhost";a:2:{s:3:"val";s:9:"localhost";s:3:"acl";i:0;}s:8:"mailport";a:2:{s:3:"val";s:3:"443";s:3:"acl";i:4;}s:12:"mailprotocol";a:2:{s:3:"val";s:4:"imap";s:3:"acl";i:0;}s:7:"folders";a:2:{s:3:"val";s:8:"impmail/";s:3:"acl";i:4;}s:7:"mailbox";a:2:{s:3:"val";s:5:"INBOX";s:3:"acl";i:0;}s:9:"signature";a:2:{s:3:"val";s:0:"";s:3:"acl";i:2;}s:10:"sig_dashes";a:2:{s:3:"val";i:0;s:3:"acl";i:0;}s:9:"sig_first";a:2:{s:3:"val";i:0;s:3:"acl";i:0;}s:8:"fullname";a:2:{s:3:"val";s:0:"";s:3:"acl";i:2;}s:9:"from_addr";a:2:{s:3:"val";s:0:"";s:3:"acl";i:2;}s:12:"replyto_addr";a:2:{s:3:"val";s:0:"";s:3:"acl";i:0;}s:6:"sortby";a:2:{s:3:"val";i:1;s:3:"acl";i:0;}s:7:"sortdir";a:2:{s:3:"val";i:0;s:3:"acl";i:0;}s:8:"max_msgs";a:2:{s:3:"val";i:20;s:3:"acl";i:0;}s:9:"num_words";a:2:{s:3:"val";i:3;s:3:"acl";i:0;}s:7:"delhide";a:2:{s:3:"val";i:0;s:3:"acl";i:0;}s:14:"save_sent_mail";a:2:{s:3:"val";i:1;s:3:"acl";i:0;}s:16:"sent_mail_fo
lder";a:2:{s:3:"val";s:9:"sent-mail";s:3:"acl";i:0;}s:13:"drafts_folder";a:2:{s:3:"val";s:6:"drafts";s:3:"acl";i:0;}s:12:"trash_folder";a:2:{s:3:"val";s:5:"Trash";s:3:"acl";i:0;}s:9:"subscribe";a:2:{s:3:"val";i:0;s:3:"acl";i:0;}s:13:"compose_popup";a:2:{s:3:"val";i:1;s:3:"acl";i:0;}s:9:"filtering";a:2:{s:3:"val";i:0;s:3:"acl";i:0;}s:12:"nav_expanded";a:2:{s:3:"val";i:0;s:3:"acl";i:0;}s:8:"nav_poll";a:2:{s:3:"val";s:0:"";s:3:"acl";i:0;}s:12:"refresh_time";a:2:{s:3:"val";i:0;s:3:"acl";i:0;}s:9:"nav_popup";a:2:{s:3:"val";i:0;s:3:"acl";i:0;}s:7:"filters";a:2:{s:3:"val";s:0:"";s:3:"acl";i:0;}s:15:"filter_on_login";a:2:{s:3:"val";i:0;s:3:"acl";i:0;}}imp|a:10:{s:4:"user";s:8:"fourteau";s:4:"pass";s:17:"xxxxxxxxxxxxxxxx";s:10:"maildomain";s:7:"shom.fr";s:9:"namespace";s:0:"";s:6:"server";s:9:"localhost";s:4:"port";s:3:"443";s:7:"folders";s:8:"impmail/";s:8:"protocol";s:4:"imap";s:7:"mailbox";s:5:"INBOX";s:5:"label";s:5:"INBOX";}
------->8--------
I don't understand, normaly php4 session works very well but here...
I have php4.0.4pl1
horde version CVS (version of tonight)
imp version CVS (version of tonight)
apache 1.3.14
on a Linux 2.2.18 Debian/Sid
I've read the mailing list, I saw that one person have the same problem
(in a mail from the begining of the month : [imp] Can't get past the
login screen). But I haven't found the solution...
Thanks for your work !
--
Yohann F.