#26316 [Opn->Bgs]: Accessing remote php files (xml header) with xslt doesn't get session variables
| From: | sniper@php.net | Date: | Thu, 20 Nov 2003 00:49:47 +0000 |
| Subject: | #26316 [Opn->Bgs]: Accessing remote php files (xml header) with xslt doesn't get session variables | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-50726@lists.php.net to get a copy of this message | ||
ID: 26316
Updated by: sniper@php.net
Reported By: andrew at shh dot fi
-Status: Open
+Status: Bogus
Bug Type: XSLT related
Operating System: windows xp
PHP Version: 4.3.3
New Comment:
The obvious first thing that comes to my mind is that you're using
short-tag there. ALWAYS use <?php ..and just disable 'short_open_tag'
php.ini option.
If this didn't help, provide full testcase. (as short as possible)
Previous Comments:
------------------------------------------------------------------------
[2003-11-19 10:09:14] andrew at shh dot fi
Description:
------------
I've checked the bugs, searched google but no solution, except a work
around.
Problem is this:
Create php page with XML header and create a session and store it in a
tag. i.e <tag><? print $_SESSION["name"]?></tag>
Access it with the XSLT parser as a remote xml document (you need to of
course) with a local XSL file. Parse it and the session is not there.
This is probably because the XSLT parser is accessing the file from
'outside' and so the session has not been created. In my case its been
create long before in the login script.
The bug appears to be that the XSLT parser doesn't recognised the
already created session.
Is there a fix to this, perhaps a change in the XSLT function, etc.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26316&edit=1