Hi all,

2011/12/2 Yasuo Ohgaki <yohg...@ohgaki.net>:
> Hi all,
>
> 2011/12/2 Yasuo Ohgaki <yohg...@ohgaki.net>:
>> With strict session, user cannot set session ID. If user can, it's not
>> a strict session, but adoptive.
>>
>> If user would like to use adoptive session, user may set
>> session.use_strict_mode=0.
>
> When user tried to use session_id() to set their on ID when
> session.use_strict_mode=1, it would be nicer to emit warning error.
> Failing silently is not good.
>
> Any comments?
>

Updated patch so that session_id() raise warning when use_strict_mode is on.

I forgot to mention that I've fixed session_set_save_handler() to take
care new parameters.

If everybody is comfortable with this patch. I would like to write
docs for this.

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