note 75485 deleted from function.session-set-save-handler by nlopess

From: Date: Tue, 19 Jun 2007 12:20:09 +0000
Subject: note 75485 deleted from function.session-set-save-handler by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-127745@lists.php.net to get a copy of this message
Note Submitter: sroby at colubris dot company ---- 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.

« previous php.notes (#127745) next »