Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78758 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24296 invoked from network); 5 Nov 2014 23:26:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2014 23:26:08 -0000 Authentication-Results: pb1.pair.com header.from=narf@devilix.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=narf@devilix.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain devilix.net designates 209.85.214.178 as permitted sender) X-PHP-List-Original-Sender: narf@devilix.net X-Host-Fingerprint: 209.85.214.178 mail-ob0-f178.google.com Received: from [209.85.214.178] ([209.85.214.178:45838] helo=mail-ob0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FD/01-18902-F02BA545 for ; Wed, 05 Nov 2014 18:26:07 -0500 Received: by mail-ob0-f178.google.com with SMTP id vb8so1485749obc.9 for ; Wed, 05 Nov 2014 15:26:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devilix.net; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Xkq1CH0rfU2syAJrOdhmGx0oNWzk3f3RwS7C6WbZOuc=; b=Z+EMmW0zpEf1w5QL/rzS8/LGsK1zajEfrYzZ5fAeehAGSHSUxXxvhWDp1E3yGZA/GM 4Q6lcQD53UghosrYAGN2WkdxGPK7pnyjNcbcE5rBgh8Ic589qkIx/asnEvLOEqBbCz/Z IjAVi3oQ4utQ5FLQY46p3MIcxOueyQsVP+K84= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Xkq1CH0rfU2syAJrOdhmGx0oNWzk3f3RwS7C6WbZOuc=; b=Cr8C6oyYxRYYAqaLr15wzHh0Th1Xjf/H+Dy4BpF7U+APRhs/eYrZ7YBSUvwDarTrAZ yeFLDfpaJR/QbwGZq7lgMa4yeSd14tXBV1gwwNOgSCfa8TMNWrRzB+nlukNJnkS0NsC0 GHaXDEt7PVtCfTyqcKV6Mh+fz3bJ/YvTxPWGSMMojHEwjxHx8a0iv70uRppxzVtEDPUK j/phv5YPzrjrxxCHPh1elccvZkFm3LRfZVewj3kmxAuY3gtr7XGymyKJeOmN/KbJ4OPL OLrW8pLtClehkJLXM+e8QnvB160mG4usJ+tYbplFz2WfP/FvGvxwlUpoaOE6CYuJv4jm JoqQ== X-Gm-Message-State: ALoCoQkuZD52hmReK3XZO+V93CvNJLEU5GhALUPCWmaGqgc9A9nqmLvKHv8gwz2CY0rP/fq+C3U1 MIME-Version: 1.0 X-Received: by 10.202.178.131 with SMTP id b125mr388495oif.72.1415229964378; Wed, 05 Nov 2014 15:26:04 -0800 (PST) Received: by 10.202.75.148 with HTTP; Wed, 5 Nov 2014 15:26:04 -0800 (PST) In-Reply-To: References: Date: Thu, 6 Nov 2014 01:26:04 +0200 Message-ID: To: Yasuo Ohgaki Cc: Damian Wadley , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Lazy writing in the session, session-lock-ini, and bug #68331 From: narf@devilix.net (Andrey Andreev) Hi, On Wed, Nov 5, 2014 at 11:30 PM, Yasuo Ohgaki wrote: > > BTW, anyone know the reason why the user need to call > session_write_close()/session_commit() > unconditionally? Accounting, perhaps? Releasing locks is one example. In userland implementations though, it could be all kinds of application-specific logic. Cheers, Andrey.