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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jpenn at cheetah-soft dot com
New email:
PHP Version: OS:

 

 [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 22:01:27 2024 UTC