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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Mar 01 02:01:29 2024 UTC