Doc #61562 [Asn]: session.use_only_cookies does not work
Edit report at https://bugs.php.net/bug.php?id=61562&edit=1
ID: 61562
Updated by: yohgaki@php.net
Reported by: yohgaki@php.net
Summary: session.use_only_cookies does not work
Status: Assigned
Type: Documentation Problem
Package: Session related
Operating System: ANY
PHP Version: 5.4.0/5.3.10
Assigned To: yohgaki
Block user comment: N
Private report: N
New Comment:
Thanks Arpad for clarification.
I think session.use_only_cookie should be removed, since it is not needed and
always cause confusion.
session.use_trans_sid and session.use_cookie should be enough.
If session.use_trans_sid = off and session.use_cookie = off, then session simply
disabled.
Previous Comments:
------------------------------------------------------------------------
[2013-06-27 20:02:06] arpad@php.net
session.use_cookie=off is not required for trans sid to work, however if session.use_cookie=on and
you have a cookie with the correct name then PHP will use that out of preference.
------------------------------------------------------------------------
[2012-03-30 10:04:40] yohgaki@php.net
Description:
------------
When session.use_trans_sid=on and session.use_only_cookies=off, Trans SID should
work.
However, current code requires session.use_cookie=off to make Trans SID work.
Test script:
---------------
N/A
Expected result:
----------------
When session.use_trans_sid=on and session.use_only_cookies=off, Trans SID should
work.
Actual result:
--------------
session.use_cookie=off is needed to make Trans SID work.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61562&edit=1
Thread (2 messages)