From: Andreas A. <a.a...@th...> - 2001-05-06 10:55:33
|
Hi Alex, i would add support for multiple arguments to the registster/unregister functions. So it is possible to call $sess->register("x1", "x2", ... , "n"). function register() { $arguments = func_get_args(); for ($i=0; $i < count($arguments); $i++) { session_register($arguments[$i]); } } Andi a.a...@th... www.thyrell.de -----Original Message----- > I've banged out a very, very simple class that wraps php4's sessions - I've > done this because I can see that it might be useful for people to be able to > use their own custom session code in special situations. |