note 89468 added to function.session-start

From: Date: Mon, 09 Mar 2009 19:16:26 +0000
Subject: note 89468 added to function.session-start
Groups: php.notes 
Request: Send a blank email to php-notes+get-151662@lists.php.net to get a copy of this message
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). ---- Server IP: 208.69.120.35 Probable Submitter: 128.227.58.192 ---- Manual Page -- http://www.php.net/manual/en/function.session-start.php Edit -- https://master.php.net/note/edit/89468 Del: integrated -- https://master.php.net/note/delete/89468/integrated Del: useless -- https://master.php.net/note/delete/89468/useless Del: bad code -- https://master.php.net/note/delete/89468/bad+code Del: spam -- https://master.php.net/note/delete/89468/spam Del: non-english -- https://master.php.net/note/delete/89468/non-english Del: in docs -- https://master.php.net/note/delete/89468/in+docs Del: other reasons-- https://master.php.net/note/delete/89468 Reject -- https://master.php.net/note/reject/89468 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#151662) next »