Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55781 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83247 invoked from network); 11 Oct 2011 17:43:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Oct 2011 17:43:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=karoly@negyesi.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=karoly@negyesi.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain negyesi.net from 209.85.213.42 cause and error) X-PHP-List-Original-Sender: karoly@negyesi.net X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:52724] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 89/AF-26502-130849E4 for ; Tue, 11 Oct 2011 13:43:14 -0400 Received: by ywa8 with SMTP id 8so7827279ywa.29 for ; Tue, 11 Oct 2011 10:43:11 -0700 (PDT) Received: by 10.236.129.228 with SMTP id h64mr32152370yhi.101.1318354991368; Tue, 11 Oct 2011 10:43:11 -0700 (PDT) Received: from mail-qy0-f177.google.com (mail-qy0-f177.google.com [209.85.216.177]) by mx.google.com with ESMTPS id d5sm31828650yhl.19.2011.10.11.10.43.08 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Oct 2011 10:43:09 -0700 (PDT) Received: by qyk31 with SMTP id 31so6274140qyk.8 for ; Tue, 11 Oct 2011 10:43:07 -0700 (PDT) Received: by 10.229.176.16 with SMTP id bc16mr5018491qcb.144.1318354987514; Tue, 11 Oct 2011 10:43:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.136.133 with HTTP; Tue, 11 Oct 2011 10:42:47 -0700 (PDT) Date: Tue, 11 Oct 2011 10:42:47 -0700 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: session.cache_limiter empty string? From: karoly@negyesi.net (Karoly Negyesi) Hi, I am trying to understand php_session_cache_limiter but my knowledge is, well, limited :) Setting session.cache_limiter to an empty string doesn't send headers. Is this just an artefact of if (!strcasecmp(lim->name, PS(cache_limiter))) not matching the empty string or does if (PS(cache_limiter)[0] == '\0') return 0; deliberately stop it? Ie. what should I add to the documentation for people who don't want PHP to send anything? Thanks Karoly Negyesi