Re: [phplib] Current integration with php4 sessions From: Max A. Derkachev (kot <email protected>)
Date: 01/29/01

Hello Eric,

Sunday, January 28, 2001, 6:07:01 AM, you wrote:

EM> Can someone please tell me the details of how well
EM> this integration is currently working,

I wrote and use session4_custom.inc
( http://phplib.netuse.de/cgi/cvsweb.cgi/php-lib/php/session/session4_custom.inc ).
It works ok for me. Some other people (I don't know exactly how many :) ) also use it.

EM> and _exactly_ what documents
EM> in the cvs need to be used to make it happen?

There is no particular documentation concerning this class (forgive
me, there should be one, and it will soon). It have some differences
from old session.inc (the most one is how auto_init is used). Some
changes should be done to page.inc (see in the CVS) - page_close() is no
longer used for Session (but it should be used if you use User class).
I guess I'll supply some documentation on differences soon. There are
a lot of discussion about the class in the list archives, where almost
everything concerning installation and use is covered well.

EM> Do phplib users and
EM> authentication currently work with php4 sessions?

Auth works as earlier. For User functionality take user4.inc - old User is not
compatible with the new Session.

EM> Does anyone have
EM> code that enables php4 session data to be stored in a database as
EM> phplib has done in the past?

This class does exactly that thing. It also could be used to store
session data in standard php4 containers.

-- 
Best regards,
Max A. Derkachev mailto:kot <email protected>
Symbol-Plus Publishing Ltd.
phone: +7 (812) 324-53-53
http://www.Books.Ru -- All Books of Russia
 

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>