> > After I entered my username and password I get to the page
> > /src/webmail.php and I see the following. Isn't it interseting that
> > we _see_ my username+domain after 11, 12 and 13 below?
> 
>   Not really. You'd expect that output. You cannot get a value from a
>   session you haven't started up.  It's like doing this:
> 
>     echo $a;
>     $a = 15;

However, the session should have already been started in redirect.php,
so in fact, that shouldn't be an issue (although it clearly seems that
that *is* the issue - Jonathan, do you know of any reason why the
session would not start in redirect or somehow get terminated between
there and webmail?).  I am using session.auto_start = 1 in my php.ini
settings, perhaps yours is = 0?  This could be an issue, although again,
it *shouldn't* be an issue, since the session is explicitly started in
redirect.php.

Run this command from you main SquirrelMail directory if you would:

grep -Rn session_start  *

What does it give you?  Specifically, there is a line in
src/redirect.php, no?

I've attached a debug version of redirect.php that should temporarily
replace the one in the /src directory.  Log in using that file and let
me know what you see.

The next thing I can do is start the session in the vlogin plugin by
testing if the current requested URI is "webmail.php"... that would be
something of a hack, but not terrible.  I'd rather understand why your
session isn't starting where it should be before I do that, though.

Let me know,

   paul

Attachment: redirect.tar.gz
Description: Binary data

Reply via email to