Bug #13378: Auto session start + obejct
| From: | sagi at boom dot org dot il | Date: | Fri, 21 Sep 2001 16:42:30 +0000 |
| Subject: | Bug #13378: Auto session start + obejct | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-66273@lists.php.net to get a copy of this message | ||
From: sagi@boom.org.il
Operating system: Linux
PHP version: 4.0.6
PHP Bug Type: Unknown/Other Function
Bug description: Auto session start + obejct
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 bug report at: http://bugs.php.net/?id=13378&edit=1