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

Bug #7543 bug in sessionValidThru()
Submitted: 2006-05-02 16:25 UTC
From: torsten dot sikora at gmx dot de Assigned: troehr
Status: Closed Package: HTTP_Session (version 0.5.1)
PHP Version: Irrelevant OS: irrelevant
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 39 - 37 = ?

 
 [2006-05-02 16:25 UTC] torsten dot sikora at gmx dot de (Torsten Sikora)
Description: ------------ HTTP_Session::sessionValidThru() does return zero even if session is valid Test script: --------------- maybe HTTP/Session.php, line 335, should be if (!isset($_SESSION['__HTTP_Session_Idle_TS']) || !isset($_SESSION['__HTTP_Session_Idle'])) { instead of if (!isset($_SESSION['__HTTP_Session_Idle_TS']) || !isset(GLOBALS['__HTTP_Session_Idle'])) {

Comments

 [2006-05-11 09:30 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