Am 16.05.2011 15:50, schrieb Alain Williams:
> On Mon, May 16, 2011 at 03:41:29PM +0200, Reindl Harald wrote:
>> There is no function needed if you use 
>> http://php.net/manual/de/function.session-write-close.php
>> like others do since ten years :-)
> 
> But that writes $_SESSION back. I am looking to optimise the case when you 
> know that there will
> be no changes to $_SESSION.

session_start();
session_write_close();

sorry but for such simple two-liners a own function only without a lock
for one millisecond is really useless

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to