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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 23 03:01:28 2024 UTC