Hi,
Because this isn't really clear from the RFC ... can I assume that INI
options can also be passed to session_start()
? Having only lazy_write,
read_only as options would be inconvenient. :)
Cheers,
Andrey.
Hi Andrey,
Because this isn't really clear from the RFC ... can I assume that INI
options can also be passed tosession_start()
? Having only lazy_write,
read_only as options would be inconvenient. :)
Many people don't like INI. (Although I love INIs :)
Therefore, new options are allowed only as session_start()
options.
I don't mind at all having session.read_only=0 as default and users set it
to session.read_only=1, then change it writable either
ini_set('session.read_only', FALSE) or session_start(['read_only'=>FALSE]);
as needed.
I have to propose the change, though.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net
Hi Yasuo,
You're answering the wrong question. :)
What I asked is if the following example is possible:
// start a session with cookie name 'foo'
session_start(['name' => 'foo']);
Cheers,
Andrey.
Hi Andrey,
Because this isn't really clear from the RFC ... can I assume that INI
options can also be passed tosession_start()
? Having only lazy_write,
read_only as options would be inconvenient. :)Many people don't like INI. (Although I love INIs :)
Therefore, new options are allowed only assession_start()
options.I don't mind at all having session.read_only=0 as default and users set it
to session.read_only=1, then change it writable either
ini_set('session.read_only', FALSE) or session_start(['read_only'=>FALSE]);
as needed.I have to propose the change, though.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net
> You're answering the wrong question. :)
> What I asked is if the following example is possible:
>
> // start a session with cookie name 'foo'
> session_start(['name' => 'foo']);
>
Oops. Sorry ;)
There is no point calling `ini_set()`/etc. I'll simply add applicable INI
values as `session_start()` option.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net