Hi Lester,

On Fri, Aug 12, 2016 at 6:12 PM, Lester Caine <les...@lsces.co.uk> wrote:
> On 12/08/16 09:23, Yasuo Ohgaki wrote:
>> I don't think it's framework job to do.
>
> This was a little 'tongue in cheek' ... my main thought was simply that
> you need a variable 'session_id' and other processes may benefit from a
> similarly constrained variable, so an intelligent variable could be
> envisaged that has the code for creating that value. In any case if the
> session code creates the variable, you want to ensure that nothing else
> modifies it, so $session_id variable should be read_only and blocked
> from accidentally escaping it, so even though it is generated within the
> session code it's result needs to follow some rules.

I see. I think it's good to have intelligent scalar if costs/overheads
are little.

Anyway, thank you for the comment. There may be people that thinks
session_create_id() should be a part of framework or user code.

Regards,

--
Yasuo Ohgaki
yohg...@ohgaki.net

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to