|  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
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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-07-07 14:12 UTC] hannesv at enfocus dot be
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


Add a Patch

Pull Requests

Add a Pull Request


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:
 [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]
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]
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-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 21:01:28 2024 UTC