#23029 [Opn->Bgs]: session.use_only_cookies and ini_set()
| From: | sniper@php.net | Date: | Thu, 03 Apr 2003 00:57:41 +0000 |
| Subject: | #23029 [Opn->Bgs]: session.use_only_cookies and ini_set() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37044@lists.php.net to get a copy of this message | ||
ID: 23029
Updated by: sniper@php.net
Reported By: jpenn at cheetah-soft dot com
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Win 2000 / Red Hat 7
PHP Version: 4.3.1
New Comment:
ini_set() returns the old value on success.
(just tested, it works fine here)
Previous Comments:
------------------------------------------------------------------------
[2003-04-02 18:08:21] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23029&edit=1