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] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!