RE: [PHP] custom session handlers
| From: | Przem Kowalczyk | Date: | Thu, 29 Jun 2000 10:35:54 +0000 |
| Subject: | RE: [PHP] custom session handlers | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3767@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Szii [mailto:szii@earthlink.net]
> Sent: Thursday, June 29, 2000 9:03 AM
> To: php-general@lists.php.net
> Subject: [PHP] custom session handlers
>
>
> I set up the custom session handlers, and I can get the sessions to
> call the "read()" and "open()" methods but can't seem to hit the
> "write()"
> method. Has anyone seen this, and if so, how did you resolve it?
>
> Thanks in advance,
> -Szii
>
> function open($save_path, $session_name)
>
> echo "Opening...<br>\r\n";
> return true;
> }
>
> function read($SessionID)
> {
> echo "Reading...<br>\r\n";
> return true;
> }
>
> function write($SessionID, $val)
> {
> echo "Writing...<br>\r\n";
> return true;
> }
>
> session_set_save_handler ("open", "close", "read",
> "write",
> "destroy", "gc");
I've checked out, that downgrade from 4.0.1 to 4.0.0 resolves that problem.
In addition 4.0.1 doesn't seems to use user define 'close' method.
Przem