Bug #13378 Updated: Auto session start + obejct
| From: | yohgaki@php.net | Date: | Thu, 20 Dec 2001 03:44:45 +0000 |
| Subject: | Bug #13378 Updated: Auto session start + obejct | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-74504@lists.php.net to get a copy of this message | ||
ID: 13378
Updated by: yohgaki
Reported By: sagi@boom.org.il
Status: Open
Old Bug Type: Session related
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.0.6
New Comment:
Many users want to unserialize/initilize object after session is started, I suppose.
Type = Feature Request
Previous Comments:
------------------------------------------------------------------------
[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