Session variables set before a header("Location: whatever") are not
being written.
And yes, before the header() call, I have session_write_close() but the
result is the same. This problem is with PHP 4.3.10 on my hosting
providers' server (and obviously I wouldn't like the hassle of changing
hosting providers), but it works OK on some other PHP 4 and PHP 5
servers.