php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23029 session.use_only_cookies and ini_set()
Submitted: 2003-04-02 18:08 UTC Modified: 2003-04-02 18:57 UTC
From: jpenn at cheetah-soft dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.3.1 OS: Win 2000 / Red Hat 7
Private report: No CVE-ID: None
 [2003-04-02 18:08 UTC] jpenn at cheetah-soft dot com
When setting a local value using ini_set() for session.use_only_cookies - the call will always return ( bool )false even on success. Not a critical problem but does cause a problem in my session handling class where:

ini_set( 'session.use_only_cookies', ( bool )true ) or $this->error( 'ini_set() failed: session.use_only_cookies' );

Thus, triggers my error capturing even when it was successful.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-02 18:57 UTC] sniper@php.net
ini_set() returns the old value on success.
(just tested, it works fine here)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 19:01:28 2024 UTC