Re[2]: [Phplib-users] new Session4 changes
Brought to you by:
nhruby,
richardarcher
From: Maxim D. <max...@bo...> - 2002-11-27 08:23:04
|
Hello, Giancarlo, Wednesday, November 27, 2002, 12:21:49 AM, you wrote: G> In the one just downloaded the class is missing G> var $register_globals I treat it like a private variable, and it will appear after assignment. I added it, though, and changed $_SERVER to $HTTP_SERVER_VARS in the new code (missed yesterday). G> And I still cannot incremet the counter. It seems as the $__session_ip G> field is not made persisntent in function register; G> I am tryng this with php 4.0.6 I see, you turned globals off in 4.0.6. The problem might be because 4.0.6 knows nothing about $_SESSION array, which is referenced in many places, so the session variables aren't globalized and saved in the session... I have no pre-4.2 setup here, so can not test this... -- Best regards, Maxim Derkachev mailto:max...@bo... IT manager, Symbol-Plus Publishing Ltd. phone: +7 (812) 324-53-53 www.books.ru, www.symbol.ru |