Re: [Phplib-users] php4 session fix, and some thoughts
Brought to you by:
nhruby,
richardarcher
From: Giancarlo <gia...@na...> - 2003-01-24 22:14:06
|
>>This would probably work (although I haven't tested it either). I think it >>would be more scalable to make keeping track of session business the >>responsibility of the Session class rather than the effective constructor >>for the Page class, but if we're going this route, and $sess->in is to be >>depreciated, the above code could be simplified further still. >> But why should it be deprecated! The fist time $sess->inis taken from the code, from the included source. And from that moment on it will hang onto another presistent variable, extra to the $sess object. And this last persistent var will anyway set the $sess->in value, and it will be transparent. And not deprecated. Gian |