note 54551 deleted from function.session-set-save-handler by betz

From: Date: Fri, 08 Jul 2005 08:01:26 +0000
Subject: note 54551 deleted from function.session-set-save-handler by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-91642@lists.php.net to get a copy of this message
Note Submitter: dek at outformations dot com Reason: useless ---- It seems that prior to PHP 4.3.11 it was ok to not pass a second argument to session_set_save_handler(). After upgrading to 4.3.11 I got the message: session_set_save_handler(): Argument 2 is not a valid callback in ... To fix the problem add a close function and pass it as the second argument to session_set_save_handler(), as in the above example. function close() { return(true); }

« previous php.notes (#91642) next »