Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.5.6

Request #9261 Add destructor to allow usage in PHP > 5.0.5
Submitted: 2006-11-08 00:37 UTC
From: glennh at inetz dot com Assigned: troehr
Status: Closed Package: HTTP_Session (version 0.5.3)
PHP Version: 5.1.2 OS: FreeBSD 6.0
Roadmaps: (Not assigned)    
Subscription  


 [2006-11-08 00:37 UTC] glennh at inetz dot com (H Glenn Hatfield)
Description: ------------ It would be helpful if we could get a destructor added to eliminate the "DB Error: no database selected" which occurs when using php versions > 5.0.5 I included the destructor that I have added to the code that resolves the problem. This will be completely compatible with PHP 4.x since it won't call the destructor. Test script: --------------- function __destruct() { session_write_close(); }

Comments

 [2006-11-11 12:10 UTC] troehr (Torsten Roehr)
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/HTTP_Session