dear comunity!
during several month I programmed with php-lib and learned how it works. since some
weeks I've been trying to program some php-lib-like classes with
php4-session-handling for a project by myself. regarding this I have read in a newsgroup
that it is not possible to use objects with php4-sessions. so I registered
only some attributes in my sessions – but it was not very convenient. later
someone told me that it IS possible to use objects in sessions, but you have
to include the code with the class-definition first ( before
session_start()). Okay, but I have got many classes and there should not be
output before session_start(). Am I right?
My Question: If I know phplib, is it necessary or better to use
php4-sessions? what are the advantages and disadvantages of using phplib or php4-sessionhandling? Furthermore I have heard that you can avoid this problem with the output
beforer session_start() by putting the session_start()-statement into a
class. But in which class and where? Into the constructor?
Thanx for your help
w4mobil.net-projectteam