session_start() "Node no longer exists"

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fred

    session_start() "Node no longer exists"

    "Warning: session_start() [function.sessio n-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 SimpleXMLElemen t
    is used along with a session.

    What's the fix, if any? Thanks.
  • Thomas Mlynarczyk

    #2
    Re: session_start() "Node no longer exists"

    Fred schrieb:
    "Warning: session_start() [function.sessio n-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 SimpleXMLElemen t
    is used along with a session.
    I had that same problem a while ago. I remember having read that a
    SimpleXMLElemen t 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)

    Comment

    • Fred

      #3
      Re: session_start() "Node no longer exists"

      Thomas Mlynarczyk wrote:
      Fred schrieb:
      >
      >"Warning: session_start() [function.sessio n-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
      >SimpleXMLEleme nt
      >is used along with a session.
      >
      I had that same problem a while ago. I remember having read that a
      SimpleXMLElemen t 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!!

      Comment

      Working...