note 21418 added to ref.session

From: Date: Sun, 12 May 2002 14:58:11 +0000
Subject: note 21418 added to ref.session
Groups: php.notes 
Request: Send a blank email to php-notes+get-30504@lists.php.net to get a copy of this message
Just FYI: If you have multiple php scripts running simultaneously (for example, in different frames or browser windows) and they use sessions, they won't execute concurrently. The various scripts will block until they have exclusive access to the session variables. If all your scripts finish quickly (as most do) you probably won't notice. But if you have any long-running scripts (e.g. system() or passthru() calls that take a while to finish) you may see some pauses in page rendering. This is well documented in session_write_close(), but might warrant mentioning more prominently here. HTH. ed -- http://www.php.net/manual/en/ref.session.php http://master.php.net/manage/user-notes.php?action=edit+21418 http://master.php.net/manage/user-notes.php?action=delete+21418 http://master.php.net/manage/user-notes.php?action=reject+21418

« previous php.notes (#30504) next »