php.net |  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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-06 09:37 UTC] jan@php.net
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: Sat Dec 21 12:01:31 2024 UTC