PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTTP » HTTP_Session » Bug #7543

bug in sessionValidThru()

Details

Submitted2006-05-02 16:25 UTC
Fromtorsten dot sikora at gmx dot de
Assignedtroehr
StatusClosed
PackageHTTP_Session
PHP VersionIrrelevant
OSirrelevant
Roadmaps(Not assigned)

Comments

[2006-05-02 16:25 UTC] torsten dot sikora at gmx dot de

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'])) {