Date: 01/04/01
- Next message: Bertrand Mansion: "Re: Re[2]: [phplib] Re: session/session4.inc versus phplib4*"
- Previous message: A. Grubert: "[phplib] unsubscribe enterprise"
- In reply to: Bertrand Mansion: "Re: [phplib] Re: session/session4.inc versus phplib4*"
- Next in thread: Bertrand Mansion: "Re: Re[2]: [phplib] Re: session/session4.inc versus phplib4*"
- Reply: Bertrand Mansion: "Re: Re[2]: [phplib] Re: session/session4.inc versus phplib4*"
- Reply: Bertrand Mansion: "Re: Re[2]: [phplib] Re: session/session4.inc versus phplib4*"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Bertrand,
Thursday, January 04, 2001, 8:43:43 PM, you wrote:
BM> I was wondering if your session4_custom.inc was working with containers
BM> other than ct_sql ? Does it have to be implemented or is it already
BM> functional ?
It works with the ct_* containers, as PHPLib 7.2 does. It uses
the same ac_* storage interfaces, so it should work with any existing
CT_* class.
BM> And by the way, have you done a little documentation on how to set it up if
BM> we want to use custom containers ?
The main difference is that you can not use old user.inc with this
class. I wrote user4.inc to cover this gap, but I haven't test it
heavily yet since I have no apps that use User functionality this
time.
To setup it you'll have to get session4_custom.inc from cvs and call
it in prepend.php instead of session.inc. You'll also have to change
something in page.inc. Look at prepend.php3 and page.inc in current
phplib cvs tree - the changes are very simple (the main change that
you'll no longer need page_close(), if you use only Session, while it
is needed for User class).
The other thing that changes is the way how autoinit file works.
$sess->in is not functional now (session does not propagate itself,
it's no need for that in my opinion).
Check in setup.inc if the variable is registered before you want to
initialize something what should be initialized at session startup.
BM> And last, what are the main differences between your session.inc and
BM> Teodor's session.inc ?
Teodor's class uses native PHP4 session storage modules only - files
and mm. My class uses custom storage module.
BM> I have not tested yours yet, I'll wait for some more documentation. Thank
BM> you.
I use this class in my development. It works ok for me. I guess I'll
provide some docs in near future. But I said here almos everything
that should appear in the docs :) My class do almost the same as the
7.2 session.inc does, except for it uses native PHP4 sessions engine
(while provides the same storage capabilities).
-- 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>
- Next message: Bertrand Mansion: "Re: Re[2]: [phplib] Re: session/session4.inc versus phplib4*"
- Previous message: A. Grubert: "[phplib] unsubscribe enterprise"
- In reply to: Bertrand Mansion: "Re: [phplib] Re: session/session4.inc versus phplib4*"
- Next in thread: Bertrand Mansion: "Re: Re[2]: [phplib] Re: session/session4.inc versus phplib4*"
- Reply: Bertrand Mansion: "Re: Re[2]: [phplib] Re: session/session4.inc versus phplib4*"
- Reply: Bertrand Mansion: "Re: Re[2]: [phplib] Re: session/session4.inc versus phplib4*"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

