Re: session_reset() and session_abort() to send errors
On Fri, Mar 21, 2014 at 12:57 AM, Yasuo Ohgaki <[email protected]> wrote:
> Hi Julien,
>
> On Fri, Mar 21, 2014 at 1:01 AM, Julien Pauli <[email protected]> wrote:
>
>> I was just reviewing the new code and functions in 5.6 for session module.
>>
>> I noticed that session_reset() and session_abort() came in.
>>
>> I would suggest those functions to throw errors when the session is not
>> initialized.
>>
>> This is already done for all other session related functions
>> (session_reset_id(), session_regenerate_id(), session_destroy()).
>>
>> Thoughts ?
>>
>
> I agree and they should.
> I'll take care of them or anyone else?
> It will be few days later.
>
You can go for it, I have no git connection today :-p
Thank you !
Julien
Thread (15 messages)