|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-03-20 08:16 UTC] mike@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 07:00:01 2025 UTC |
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