Re: [RFC] [Discussion] Deprecate GET/POST sessions

From: Date: Thu, 04 Apr 2024 15:44:35 +0000
Subject: Re: [RFC] [Discussion] Deprecate GET/POST sessions
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-122937@lists.php.net to get a copy of this message
> Le 4 avr. 2024 à 01:08, Kamil Tekiela <tekiela246@gmail.com> a écrit : > > If there are no more comments, I would like to put this RFC to vote in > the next two days. Hi, 1. In session_start(), it is possible to override ini settings like that: ```php session_start([ 'use_cookies' => '1', 'use_only_cookies' => '1', 'referer_check' => '' ]); ``` The relevant options should also be deprecated in that context. 2. A clarification: Suppose that I have session.use_only_cookie = 1 in my ini file (no deprecation warning), and I call ini_set("session.use_only_cookie", "1") in my code (no-op). Will the ini_set(...) invocation trigger a deprecation warning? —Claude

« previous php.internals (#122937) next »