Re: session_set_save_handler question
| From: | Papp Gyozo | Date: | Mon, 01 Oct 2001 19:51:46 +0000 |
| Subject: | Re: session_set_save_handler question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69556@lists.php.net to get a copy of this message | ||
I'm recently working on a customized Error Handler class.
As you may know, set_error_handler() is for setting a user function
(error_handler) to handle errors in a script.
I'm forced to write a wrapper function to search my class instance in
the global symbol table. ($GLOBALS you know :)
So I suspect that the functionalities connected to inside of PHP somehow
(session_*, error handling, shutdown callback functions) works only with
simple structural function.
----- Original Message -----
From: "Bob Bowker" <bowker@iNetWebInc.com>
To: "PHP List" <php-general@lists.php.net>
Sent: Tuesday, September 25, 2001 5:10 AM
Subject: [PHP] session_set_save_handler question
> Hi --
>
> No luck finding an answer to this ... can class methods be registered as
> the user functions with session_set_save_handler() -- or do I have to
> create a wrapper outside the class to call the class functions? Using
> 4.0.3pl1 ...
>
> Thanks --
>
> Bob.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>