note 75485 added to function.session-set-save-handler

From: Date: Fri, 01 Jun 2007 13:08:32 +0000
Subject: note 75485 added to function.session-set-save-handler
Groups: php.notes 
Request: Send a blank email to php-notes+get-127102@lists.php.net to get a copy of this message
As a followup to my previous post, the exact code I added to the application is as follows: <?php if(version_compare(PHP_VERSION, "5.0.5") >= 0) { register_shutdown_function("session_write_close"); } ?> This avoids calling session_write_close() when not necessary. ---- Server IP: 216.235.15.211 Probable Submitter: 206.162.167.230 ---- Manual Page -- http://www.php.net/manual/en/function.session-set-save-handler.php Edit -- https://master.php.net/note/edit/75485 Del: integrated -- https://master.php.net/note/delete/75485/integrated Del: useless -- https://master.php.net/note/delete/75485/useless Del: bad code -- https://master.php.net/note/delete/75485/bad+code Del: spam -- https://master.php.net/note/delete/75485/spam Del: non-english -- https://master.php.net/note/delete/75485/non-english Del: in docs -- https://master.php.net/note/delete/75485/in+docs Del: other reasons-- https://master.php.net/note/delete/75485 Reject -- https://master.php.net/note/reject/75485 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#127102) next »