From: Karsten D. <k.d...@tu...> - 2001-04-26 09:53:12
|
On Wed, Apr 25, 2001 at 02:14:28PM -0400, Todd Owen wrote: > Karsten wrote: > > That does in no way contradict! You can register custom session data > > storage containers with the native PHP4 sessions. So you can count the > > records, and still use the natvive sessions. No problem :-) >=20 > You can indeed select an alternative to /tmp/ file storage of session_id's > in PHP4 using the native session routines. However, this requires access= to > the php configuration files, which many web hosting companies don't offer. > Furthermore, you don't get the flexibility (in my opinion) of a session > class you design yourself. That is not what I meant, changing the session save path is in no way a great improvement in fexibility. I was referring to the following function and it's possibilities: void session_set_save_handler (string open, string close, string read, st= ring write, string destroy, string gc) See some of the native sessions tutorials at all those developer sites for some more on that. It gives you all the flexibility you need and still makes it possible to use the fast and easy session handling provided by PHP4 And you don't need access to any configuration file (that does apply to other settings as well, there are ini_set and ini_alter). Regards, Karsten --=20 Why do we have to hide from the police, daddy? Because we use emacs, son. They use vi. ----------------------------- mailto:k.d...@tu... w=B3: http://www.k-fish.de/ gpg: http://www.k-fish.de/mykeys.gpg |