php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #36279 Conflicting default settings listed for session.use_only_cookies
Submitted: 2006-02-04 02:04 UTC Modified: 2006-02-07 17:54 UTC
From: bruce at web-graphique dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: windows xp
Private report: No CVE-ID: None
 [2006-02-04 02:04 UTC] bruce at web-graphique dot com
Description:
------------
In the manual, in the section titled "CXXXVII. Session Handling Functions", (http://us2.php.net/manual/en/ref.session.php), Table 1 says that the default for session.use_only_cookies is "1".

However, later on the page it says that the default for session.use_only_cookies is 0:

"session.use_only_cookies specifies whether the module will only use cookies to store the session id on the client side. Defaults to 0 (disabled, for backward compatibility). Enabling this setting prevents attacks involved passing session ids in URLs. This setting was added in PHP 4.3.0."


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-07 17:54 UTC] nlopess@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:11 UTC] phpdocbot@php.net
Automatic comment on behalf of nlopess
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=321ea2421545ba0d6a9fa2bcfc1fb464cf94470f
Log: fix #36279: multiple default values for use_only_cookies
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 09 22:01:33 2025 UTC