Bug #13378 Updated: Auto session start + obejct

From: Date: Thu, 20 Dec 2001 08:48:09 +0000
Subject: Bug #13378 Updated: Auto session start + obejct
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-74536@lists.php.net to get a copy of this message
ID: 13378 Updated by: derick Reported By: sagi@boom.org.il Old Status: Open Status: Closed Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.0.6 New Comment: This is already implemented, we have a undocumented functinno for that, but I can't recall the name now :) Derick Previous Comments: ------------------------------------------------------------------------ [2001-12-19 22:44:45] yohgaki@php.net Many users want to unserialize/initilize object after session is started, I suppose. Type = Feature Request ------------------------------------------------------------------------ [2001-09-21 12:42:30] sagi@boom.org.il Well, this is not really a bug , but: When using session.auto_start , there is no way to load a class first, so session objects are pretty much not usable that way. I may be wrong, but I couldn't find any way to do it but doing a session_write_close(); session_start(); However this is not a solution because it wastes resources - writing the session files and opening it again for nothing. I belive that a session_reload() (or another solution for this case) should exist. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13378&edit=1

« previous php.dev (#74536) next »