[development] sess_write() and PHP processes
nji at njivy.org
Wed May 17 23:39:49 UTC 2006
Is sess_write() called by the same PHP process that handles page
I'm working with dado to debug node_import.module (see http://
drupal.org/node/63581). node_import.module uses a $_SESSION variable
to control the workflow state, which is something I've not seen often.
Simply put, the workflow progresses normally for some people (e.g.
dado) and not for others (e.g. me). For me, some variables in
$_SESSION are effectively not updated. I say "effectively" because
$_SESSION is written twice. The second write uses old values.
At one point, I have the following debugging statements:
$_SESSION['node_import'] = $edit; // NOTE: sess_write() calls watchdog
The logs consistently show, in reverse chronological order:
What's going on?
More information about the development