|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #6380 Session handlers should be allowed in objects
Submitted: 2000-08-27 14:32 UTC Modified: 2002-01-06 09:37 UTC
From: jon at csh dot rit dot edu Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Latest CVS (27/08/2000) OS:
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.
Block user comment
Status: Assign to:
Bug Type:
From: jon at csh dot rit dot edu
New email:
PHP Version: OS:


 [2000-08-27 14:32 UTC] jon at csh dot rit dot edu
It would be nice (for encapsulation purposes) to allow user-defined session handlers to be implemented as class methods, either through the established array($this, "foo") syntax or via a session_set_object() function.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-06 09:37 UTC]
this is possible using session_set_save_handler(array('class'=>'method'),...);
or do I misunderstand the problem here?
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Mar 03 20:01:29 2024 UTC