note 89468 deleted from function.session-start by danbrown

From: Date: Mon, 09 Mar 2009 19:17:29 +0000
Subject: note 89468 deleted from function.session-start by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-151663@lists.php.net to get a copy of this message
Note Submitter: Steve Clay ---- As should be clear from other comments, PHP's default session handler locks session files. If you set save_path to a location that doesn't support flock (like NFS), you may experience delays or failures in writing/reading the file when calling session_start(). On my buggy NFS hosting setup, flocking blocks execution for 30s! I had to move sessions back to /tmp (and am considering changing web hosts).

« previous php.notes (#151663) next »