Re: [Phplib-users] php4 session saves whole obj properties, includeud db pass
Brought to you by:
nhruby,
richardarcher
From: Giancarlo <gia...@na...> - 2002-09-25 22:35:13
|
Il 00:29, gioved=EC 26 settembre 2002, Michael Chaney ha scritto: > On Wed, Sep 25, 2002 at 11:59:04PM +0200, Giancarlo wrote: > > > I always erase passwords. > > You mean you=20 > > > > unset ($db->Host); > > unset ($db->User); > > unset ($db->Database); > > unset ($db->PAssword); > > > > before page_close/freeze? > I see no reason to make the $db variable persistent, and plenty of > reason to not do that. > > Michael Oh yes.. Great!=20 Also I apprecieated when you suggested a good setup for Virtual host ini=20 settings. Have to find that message back. Gian=20 |