php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29047 xmldom dumpfile / session bug
Submitted: 2004-07-07 14:12 UTC Modified: 2005-01-19 01:00 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:3 (100.0%)
From: hannesv at enfocus dot be Assigned:
Status: No Feedback Package: DOM XML related
PHP Version: 4.3.x OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
21 + 7 = ?
Subscribe to this entry?

 
 [2004-07-07 14:12 UTC] hannesv at enfocus dot be
Description:
------------
The session Memory get flushed (variables are kept, but are converted to "object"), "whenever session_start();" has been selected before a DOMXML document is written with "dump_file()".

If the "session_start();" is put after the writting of the document it works fine.

In my script I also use mysql, but that not seems to cause the problem (I use it also in combination with xmldom to read a file into a database)

Note: none of the session-variables are changed are even called in the script.

Note: Besides that, the writting of the xml-works fine.

Reproduce code:
---------------
can not be given by company privacy policy


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-08 15:40 UTC] hannesv at enfocus dot be
A made an external link to afile with simular code.
Hope it helps the bug solvers.
If anybody has the same problem, it's worked on

the link:

 
http://www.webopleiding.teno.be/diksmuide/zelfstudie/hvermeulen/phpbug.txt
 [2004-07-08 15:44 UTC] hannesv at enfocus dot be
exuse me, but when clicking the link above, pleace at xt at the end, it's on the on the line below the link for some reason.
 [2004-07-08 15:46 UTC] derick@php.net
We need a self contained script without an dependencies on external systems (like MySQL, files etc....)
 [2004-07-08 15:51 UTC] hannesv at enfocus dot be
For the ones who want a script without any external depenencies:
The bug is (I 99.99%) sure created because of external depenencies.

And I could not provide a link to a website because the code is made for a LAN.
 [2004-07-14 01:22 UTC] chregu@php.net
Version not irrelevant... If you can reproduce it with 
5.0, please report...
 [2005-01-19 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Dec 05 18:01:24 2019 UTC