From: andrew at shh dot fi Operating system: windows xp PHP version: 4.3.3 PHP Bug Type: XSLT related Bug description: Accessing remote php files (xml header) with xslt doesn't get session variables
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 bug report at http://bugs.php.net/?id=26316&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26316&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26316&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26316&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26316&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26316&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=26316&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26316&r=support Expected behavior: http://bugs.php.net/fix.php?id=26316&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26316&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26316&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26316&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26316&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26316&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26316&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26316&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26316&r=float