note 38147 added to ref.session

From: Date: Tue, 09 Dec 2003 22:36:01 +0000
Subject: note 38147 added to ref.session
Groups: php.notes 
Request: Send a blank email to php-notes+get-61714@lists.php.net to get a copy of this message
It's not mentioned here but is buried under the docs for session_register(): you CANNOT save a "resource" as a session variable. They specifically state MySQL connections, but I was trying to cache LDAP connections. That means you'll have to reconnect (and re-bind) each time; seems the antithesis of classic DB connection pools for speed and efficiency. ---- Manual Page -- http://www.php.net/manual/en/ref.session.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38147 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38147&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38147&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#61714) next »