Re: Open Session Variables [message #171207 is a reply to message #171203] |
Wed, 29 December 2010 14:48 |
Denis McMahon
Messages: 634 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 29/12/10 13:33, Bill Braun wrote:
> I am new to PHP coding. At the end of a series of scripts (the series
> being a function of a number of header and include calls) is there a way
> to know what session variables are still set? I am running into an
> intermittent error "Warning: session_start() [function.session-start]:
> Node no longer exists in file.php on line X" and I suspect that I am
> failing to destroy or unset some session variables.
>
> I think I have the variables properly destroy()'d and/or unset() but the
> error make me suspicious I've overlooked something.
try googling "php Node no longer exists"
It's a good start. In fact, for any programming language these days,
googling "<language> <error message text>" will usually throw up
something helpful.
For example, I found:
http://www.php.net/manual/en/book.simplexml.php#87083
http://www.php.net/manual/en/function.unserialize.php#90520
Which both point to this being a SimpleXML related error message.
I'd guess at this point that your session start tries to load session
data that includes an xml object with a parent node that doesn't exist,
but that would very much be a guess.
As I know nothing of SimpleXML specifically, I'm unable to help further.
This may also help - seems to be the most informative brief description
that I've found:
< http://bytes.com/topic/php/answers/831550-session_start-node-no-longer-exis ts>
Rgds
Denis McMahon
|
|
|