php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #13378 Auto session start + obejct
Submitted: 2001-09-21 12:42 UTC Modified: 2001-12-20 04:04 UTC
From: sagi at boom dot org dot il Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.6 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sagi at boom dot org dot il
New email:
PHP Version: OS:

 

 [2001-09-21 12:42 UTC] sagi at boom dot org dot 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-19 22:44 UTC] yohgaki@php.net
Many users want to unserialize/initilize object after session is started, I suppose.

Type = Feature Request
 [2001-12-20 03:48 UTC] derick@php.net
This is already implemented, we have a undocumented functinno for that, but I can't recall the name now :)

Derick
 [2001-12-20 04:04 UTC] bernd@php.net
This is already documented, too....
http://www.php.net/manual/en/function.unserialize.php
(if you thought of that feature.)

ATTENTION: for 4.2.0-dev only...

Bernd

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 02:01:28 2025 UTC