My guess is that $_SESSION may not be available after session_write_close(). I haven't tested this theory yet, but I do know that none of my PHP in the past has tried to use $_SESSION after calling session_write_close().
My guess is that $_SESSION may not be available after session_write_close(). I haven't tested this theory yet, but I do know that none of my PHP in the past has tried to use $_SESSION after calling session_write_close().