Doc #61562 [Asn]: session.use_only_cookies does not work

From: Date: Thu, 08 Aug 2013 03:12:31 +0000
Subject: Doc #61562 [Asn]: session.use_only_cookies does not work
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10154@lists.php.net to get a copy of this message
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)

« previous php.doc.bugs (#10154) next »