Re[2]: [Phplib-users] php4 session fix, and some thoughts
Brought to you by:
nhruby,
richardarcher
From: Maxim D. <max...@bo...> - 2003-01-23 09:27:55
|
Hello, Lindsay, I did not promise that Session4* classes will be 100% compatible with the Session3 (I call it so). $sess->in is to be deprecated in the Session4, just because it is not possible to make it work the right way. That's why the API change. I suppose we should not bloat the code and/or mess with the global scope to solve the problem. It would be better just to change the documented auto_init behavior for the Session4. So, I consider it a documentation problem, that should be solved. Of course, You can not be sure that everything will work with the Session4 as it used to work with the Session3. Say, You might register something like $some_object->some_property with the Session3, while it simply won't work in the Session4 case, somebody could rely on Session3 serialize() data format, while it has nothing in common with the PHP4 session serialization format, and so on. -- 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 |