Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73380 Return-Path: <17260015@student.uws.edu.au> Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2950 invoked from network); 24 Mar 2014 15:07:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Mar 2014 15:07:37 -0000 Authentication-Results: pb1.pair.com header.from=17260015@student.uws.edu.au; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=17260015@student.uws.edu.au; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain student.uws.edu.au from 213.199.154.12 cause and error) X-PHP-List-Original-Sender: 17260015@student.uws.edu.au X-Host-Fingerprint: 213.199.154.12 mail-am1lp0012.outbound.protection.outlook.com Received: from [213.199.154.12] ([213.199.154.12:7711] helo=emea01-am1-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4C/00-02253-53A40335 for ; Mon, 24 Mar 2014 10:07:35 -0500 Received: from SINPR01MB154.apcprd01.prod.exchangelabs.com (10.242.55.148) by SINPR01MB155.apcprd01.prod.exchangelabs.com (10.242.55.152) with Microsoft SMTP Server (TLS) id 15.0.898.11; Mon, 24 Mar 2014 15:07:30 +0000 Received: from SINPR01MB154.apcprd01.prod.exchangelabs.com ([10.242.55.148]) by SINPR01MB154.apcprd01.prod.exchangelabs.com ([10.242.55.148]) with mapi id 15.00.0898.005; Mon, 24 Mar 2014 15:07:30 +0000 To: Yasuo Ohgaki , Stas Malyshev CC: "internals@lists.php.net" Thread-Topic: [PHP-DEV] Re: Session: deprecating create_sid() method and add createSid()? Thread-Index: AQHPQijxOLqyaJ4nAk6Vu2MJBoQyrJrl4eEAgAAaj4CAAHrtgIABEykAgAjWMjs= Date: Mon, 24 Mar 2014 15:07:29 +0000 Message-ID: <4ddbce0e2545417b947c864da031319b@SINPR01MB154.apcprd01.prod.exchangelabs.com> References: <53277BE2.8020203@sugarcrm.com> <5327F947.5020308@sugarcrm.com>, In-Reply-To: Accept-Language: en-AU, en-GB, en-US Content-Language: en-AU X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [103.16.26.184] x-forefront-prvs: 01604FB62B x-forefront-antispam-report: SFV:NSPM;SFS:(10019001)(6009001)(428001)(377454003)(189002)(24454002)(199002)(51704005)(81342001)(4396001)(47736001)(98676001)(83072002)(85852003)(83322001)(69226001)(74502001)(47976001)(49866001)(50986001)(74482001)(47446002)(56816005)(90146001)(81542001)(93136001)(19580405001)(33646001)(80976001)(87266001)(74876001)(97336001)(20776003)(15975445006)(66066001)(81686001)(74366001)(79102001)(74316001)(65816001)(87936001)(95666003)(97186001)(85306002)(86362001)(46102001)(93516002)(54316002)(94316002)(56776001)(2656002)(54356001)(94946001)(76482001)(51856001)(53806001)(77982001)(59766001)(31966008)(63696002)(92566001)(19580395003)(76796001)(81816001)(80022001)(95416001)(74706001)(42262001)(24736002);DIR:OUT;SFP:1102;SCL:1;SRVR:SINPR01MB155;H:SINPR01MB154.apcprd01.prod.exchangelabs.com;FPR:FEF5F2F8.BC149E29.6475B56C.4EE3C88B.2024C;MLV:sfv;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (: student.uws.edu.au does not designate permitted sender hosts) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: student.uws.edu.au Subject: RE: [PHP-DEV] Re: Session: deprecating create_sid() method and add createSid()? From: 17260015@student.uws.edu.au (Rajneesh Shetty) "If you would like, I can add similar change to 5.5." My question is how do clearances work in this g= roup? Rajneesh N. Shetty Tel : (+61)468371858 ________________________________________ From: yohgaki@gmail.com [yohgaki@gmail.com] on behalf of Yasuo Ohgaki [yohg= aki@ohgaki.net] Sent: Wednesday, 19 March 2014 11:08 AM To: Stas Malyshev Cc: internals@lists.php.net Subject: Re: [PHP-DEV] Re: Session: deprecating create_sid() method and add= createSid()? Hi Stas, On Tue, Mar 18, 2014 at 4:44 PM, Stas Malyshev wrot= e: > > What is your opinion? > > My opinion it would be the best if we could support both and deprecate > create_sid in 5.6, but if it's hard to do cleanly, then leave it alone. > I've included createSid() definition in https://github.com/php/php-src/pull/628/ If create_sid() is defined, it's used. If both create_sid() and createSid() is defined, createSid() is used. SessionHandler does not use new SessionUpdateTimestampHandlerInterface, so user may choose what they would do about create_sid() and createSid(). Current session module's object handling is some what legacy, so such thing can be done. I think this is the best way. We can keep compatibility and have standard confirming createSid() name. Since it keeps compatibility with 5.5, we may leave 5.5 alone. If you would like, I can add similar change to 5.5. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net=