#24117 [Opn->Bgs]: Would be useful if PHP with "enable-trans-sid" modified "Location" header field
| From: | derick@php.net | Date: | Tue, 10 Jun 2003 21:22:26 +0000 |
| Subject: | #24117 [Opn->Bgs]: Would be useful if PHP with "enable-trans-sid" modified "Location" header field | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-41635@lists.php.net to get a copy of this message | ||
ID: 24117
Updated by: derick@php.net
Reported By: marekm at aptus dot pl
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.3.2
New Comment:
1. You need to always use a full absolute URI in the Location: header,
and 2. You can add the SID yourself as described here:
http://www.php.net/manual/en/ref.session.php#session.constants
Previous Comments:
------------------------------------------------------------------------
[2003-06-10 16:15:25] marekm at aptus dot pl
I've just tested my session-using-site with cookies disabled in the
browser and noticed, that PHP doesn't always propagate session SID
(even with enable-trans-sid).
The problem is that I often use:
Header("Location: somewhere.php");
which doesn't propagate session id.
I think, it would be nice if PHP modified the header field
automatically the same way it is done in A HREF's.
Regards,
Marek Matula
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24117&edit=1