Mantis - Quercus
Viewing Issue Advanced Details
3636 minor always 08-17-09 11:41 08-27-09 11:39
nam  
nam  
normal  
closed 4.0.0  
fixed  
none    
none 4.0.2  
0003636: isset() returns FALSE for $_SESSION
(rep by rabbitism)

The function isset is returning false on a $_SESSION variable that is set.

Two simple test files:

1) sessionstart.php

<?php
session_start();

$_SESSION['timeout'] = 88888888;

?>

2) sessiontest.php

<?php
session_start();

resin_var_dump($_SESSION);

if (isset($_SESSION['timeout'])) {
echo 'session timeout is set!';
} else {
echo 'session timeout is not set!';
}

?>

Notes
(0004180)
nam   
08-27-09 11:39   
php/1k86