Re: [PHPLIB] Baselib Sessioning vs. php4 sessioning ? From: Kristian Köhntopp (kris <email protected>)
Date: 03/26/00

Christoph Adomeit wrote:
> What I wonder is: phplib is described as "PHP3 Base Library".
> How is it positioned vs. php4 ? There seem to be some
> duplicate Features like sessioning in phplib and zend.

PHPLIB does work with PHP4 without changes. The Session
features of PHPLIB have been ported as session_*() functions
to PHP4, so this functionality is duplicate in PHP4 and
PHPLIB. The Auth, Perm and User features are not available
in PHP4, as are Template and Menu.

> Assuming that php4 will be solid as a rock sooner or later,
> what sessioning should I use and why ?

You can easily write a class named Session4, which uses PHPLIB
API and PHP4 Session functions. That class can be a dropin
replacement of Session. This will enable you to use the more
advanced classes of PHPLIB with PHP4 sessions.

Kristian

-- 
Kristian Koehntopp, Knooper Weg 46, 24103 Kiel, +49 170 2231 811
"Du haeltst Dich fest/an Dingen die nichts wert sind/ an Dingen, die Du
gar 
 nicht brauchst/Ich habe vor/Dir etwas besseres zu geben/in meinen
Taschen/
 ist ein besseres Leben." -- Die Antwort, "Durch die Adern meiner Haut"

- PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in the body, not the subject, of your message.