423,674 Members | 1,946 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 423,674 IT Pros & Developers. It's quick & easy.

session_start() "Node no longer exists"

P: n/a
"Warning: session_start() [function.session-start]: Node no longer exists in"
the call to session_start() on my page.

Seemingly, the error comes and goes.

From what I've gathered, this is some bug which arises when SimpleXMLElement
is used along with a session.

What's the fix, if any? Thanks.
Aug 20 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Fred schrieb:
"Warning: session_start() [function.session-start]: Node no longer exists in"
the call to session_start() on my page.
From what I've gathered, this is some bug which arises when SimpleXMLElement
is used along with a session.
I had that same problem a while ago. I remember having read that a
SimpleXMLElement object is actually more like a resource, which cannot
be stored in a session. The only solution seems to be to copy all
relevant data to a "normal" object or array. Or store any modifications
to the XML source in the XML file.

Greetings,
Thomas

--
Ce n'est pas parce qu'ils sont nombreux avoir tort qu'ils ont raison!
(Coluche)
Aug 20 '08 #2

P: n/a
Thomas Mlynarczyk wrote:
Fred schrieb:
>"Warning: session_start() [function.session-start]: Node no longer
exists in"
the call to session_start() on my page.
>From what I've gathered, this is some bug which arises when
SimpleXMLElement
is used along with a session.

I had that same problem a while ago. I remember having read that a
SimpleXMLElement object is actually more like a resource, which cannot
be stored in a session. The only solution seems to be to copy all
relevant data to a "normal" object or array. Or store any modifications
to the XML source in the XML file.

Greetings,
Thomas
PROBLEM SOLVED! THANK YOU!!
Aug 20 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.