[dev] Patch for framework/Horde/Horde.php

Gary Windham windhamg at email.arizona.edu
Fri Jan 28 14:55:30 PST 2005


I've been experimenting with various framework/SessionHandler classes, and
discovered that value assignments to instance variables (e.g.,
$this->_connected in mysql, pgsql, etc) do not persist across function calls. 
This is because the instance of the SessionHandler_<whatever> class passed to
session_set_save_handler() in framework/Horde/Horde.php is passed by value,
not by reference.  The attached patch fixes this.

Thanks,
--Gary
--
Gary Windham
Systems Programmer, Principal
The University of Arizona, CCIT
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Horde_php.diff
Type: text/x-patch
Size: 1406 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20050128/ae877372/Horde_php.bin


More information about the dev mailing list