ID: 23029 Updated by: [EMAIL PROTECTED] 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