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
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: 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 18:01:29 2024 UTC