Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86820 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85517 invoked from network); 23 Jun 2015 22:09:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jun 2015 22:09:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=ericsten@microsoft.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ericsten@microsoft.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain microsoft.com designates 65.55.169.139 as permitted sender) X-PHP-List-Original-Sender: ericsten@microsoft.com X-Host-Fingerprint: 65.55.169.139 mail-bl2on0139.outbound.protection.outlook.com Received: from [65.55.169.139] ([65.55.169.139:49273] helo=na01-bl2-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2C/A2-04861-919D9855 for ; Tue, 23 Jun 2015 18:09:30 -0400 Received: from BN1PR03MB105.namprd03.prod.outlook.com (10.255.201.11) by BN1PR03MB108.namprd03.prod.outlook.com (10.255.201.26) with Microsoft SMTP Server (TLS) id 15.1.195.15; Tue, 23 Jun 2015 22:09:26 +0000 Received: from BN1PR03MB105.namprd03.prod.outlook.com ([169.254.8.45]) by BN1PR03MB105.namprd03.prod.outlook.com ([169.254.8.45]) with mapi id 15.01.0195.005; Tue, 23 Jun 2015 22:09:26 +0000 To: "internals@lists.php.net" Thread-Topic: [Q] Session provider & returning FAILURE from PS_OPEN_FUNC? Thread-Index: AdCuAH78Qz1+ubUoS4ezBm2iPVmqHw== Date: Tue, 23 Jun 2015 22:09:26 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: lists.php.net; dkim=none (message not signed) header.d=none; x-originating-ip: [2001:4898:80e8:ee31::2] x-microsoft-exchange-diagnostics: 1;BN1PR03MB108;5:X2CdhXWpcgMbqYNZO40P3uQ8pM7PQhAEBWhlfEFFnXVsUOEkWTmI1H37ELg/psyCtuAFOJaZOQqRkLq7SRACsNTFhcVQAMPZFmtGm7OWqMm6RQDWnXJVnPBGSCqPAYaLZqouwPj7dXi+k4yaN9y3Kg==;24:mffytA6ev8jAg99uqJpIeabH8cSinHz9pcThqtpM6ZZLN8JkJTpsOUxgkbcCseGEw93Ej7WMigJFb9oY1gmeDxjOLMecycv7rLvhtl4UFRM=;20:iMISMVxcoBjdLvMkV4ejHRmXUlnECdYH4oWU3JeEQsB3ydm/7bdto8lhj8s1uxmcQYNXO+RStbER8d+ijIRBGw== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB108; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401001)(5005006)(3002001);SRVR:BN1PR03MB108;BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB108; x-forefront-prvs: 06167FAD59 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(2501003)(19625215002)(77156002)(107886002)(99286002)(54356999)(189998001)(450100001)(122556002)(2900100001)(5003600100002)(40100003)(102836002)(5002640100001)(76576001)(15975445007)(33656002)(110136002)(5001960100002)(62966003)(50986999)(16236675004)(92566002)(19300405004)(46102003)(74316001)(19580395003)(86612001)(2351001)(2656002)(229853001)(86362001)(87936001);DIR:OUT;SFP:1102;SCL:1;SRVR:BN1PR03MB108;H:BN1PR03MB105.namprd03.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; Content-Type: multipart/alternative; boundary="_000_BN1PR03MB105892AF1A3925BE7B05A93D0A00BN1PR03MB105namprd_" MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jun 2015 22:09:26.3124 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR03MB108 Subject: [Q] Session provider & returning FAILURE from PS_OPEN_FUNC? From: ericsten@microsoft.com (Eric Stenson) --_000_BN1PR03MB105892AF1A3925BE7B05A93D0A00BN1PR03MB105namprd_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Quick behavioral question: If an extension is implementing a Session handler, and returns FAILURE from= its PS_OPEN_FUNC(), will the extension receive subsequent PS_READ_FUNC()/P= S_WRITE_FUNC() calls? Also, if an extension returns FAILURE from its PS_OPEN_FUNC(), will the ext= ension receive a PS_CLOSE_FUNC()/PS_DESTROY_FUNC() call? If there are any docs on writing a Session handler, please let me know! I'= m happy to RTFM... Thx! --E. --_000_BN1PR03MB105892AF1A3925BE7B05A93D0A00BN1PR03MB105namprd_--