ID:               36794
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ramires at poczta dot onet dot pl
-Status:           Open
+Status:           Bogus
 Bug Type:         Session related
 Operating System: WINX XP PRO SP2
 PHP Version:      5.1.2
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------

[2006-03-20 00:52:00] ramires at poczta dot onet dot pl

Description:
------------
session.save_handler = user

and i use my class for session.

Reproduce code:
---------------
  public function read($sessID) 
  {
    $SQL = "SELECT SessionData FROM A_Sessions WHERE SessionId =
'$sessID' AND SessionExpires > ".time()."";
    $res = $this->dbHandle->query($SQL);
    if($row = $res->fetchRow())
    {
      return session_decode($row['session_data']);
    }
    return " ";
  }

Expected result:
----------------
get actually $_SESSION

Actual result:
--------------
get empty $_SESSION


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36794&edit=1

Reply via email to