Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52396 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88560 invoked from network); 16 May 2011 14:39:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 May 2011 14:39:21 -0000 Authentication-Results: pb1.pair.com smtp.mail=h.reindl@thelounge.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=h.reindl@thelounge.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain thelounge.net designates 91.118.73.15 as permitted sender) X-PHP-List-Original-Sender: h.reindl@thelounge.net X-Host-Fingerprint: 91.118.73.15 mail.thelounge.net Windows 98 (1) Received: from [91.118.73.15] ([91.118.73.15:51682] helo=mail.thelounge.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B1/69-26716-81731DD4 for ; Mon, 16 May 2011 10:39:21 -0400 Received: from [10.0.0.99] (rh.thelounge.net [10.0.0.99]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.thelounge.net (Postfix) with ESMTPSA id 9F140BE for ; Mon, 16 May 2011 16:39:17 +0200 (CEST) Message-ID: <4DD13714.1080005@thelounge.net> Date: Mon, 16 May 2011 16:39:16 +0200 Organization: the lounge interactive design User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.10 MIME-Version: 1.0 To: internals@lists.php.net References: <20110516133753.GA24346@phcomp.co.uk> <4DD12989.7090602@thelounge.net> <20110516135033.GB24346@phcomp.co.uk> In-Reply-To: <20110516135033.GB24346@phcomp.co.uk> X-Enigmail-Version: 1.1.2 OpenPGP: id=7F780279; url=http://arrakis.thelounge.net/gpg/h.reindl_thelounge.net.pub.txt Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3A80AA9BBB4B4DDD927B0905" Subject: Re: [PHP-DEV] session_disconnect() From: h.reindl@thelounge.net (Reindl Harald) --------------enig3A80AA9BBB4B4DDD927B0905 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/functi= on.session-write-close.php >> like others do since ten years :-) >=20 > 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 --------------enig3A80AA9BBB4B4DDD927B0905 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAk3RNxQACgkQhmBjz394AnkXgACdEfXmu4uuQEi2NRWxLXb1/p1x r3gAn1S6AZxAumK7sIljF8IKHSksDYoH =P+6/ -----END PGP SIGNATURE----- --------------enig3A80AA9BBB4B4DDD927B0905--