Date: 02/22/01
- Next message: Martin Burger: "Re: [phplib] Apache, PHP4, PHPLIB, include_path"
- Previous message: Marc Fournier: "Re: [phplib] Question about the sessions"
- In reply to: Thomas T. Thai: "Re: [phplib] phplib 4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Thomas,
Thursday, February 22, 2001, 7:27:46 AM, you wrote:
TTT> i see that in prepend.inc:
TTT> ...
TTT> # Load session management class
TTT> require($_PHPLIB["libdir"] . "session/session" . $_PHPLIB["version"]
TTT> . (($_PHPLIB["custom_save_handler"]) ? "_custom" : "")
TTT> . ".inc");
TTT> ...
TTT> since 'custom_save_handler' is set to false by default, does that mean
TTT> that this will use Teo's class (php/session/session4.inc) by default? in
TTT> order to use your custom class with phplib's CT_xxx, custom_save_handle
TTT> have to be set to true?
Yes.
Actually, my class also can handle sessions with native php4
containers. Just set $module (the new class property in my Session
class) to 'files' or 'mm' in your extension class if you want filesystem
or shared memory container respectively. The default value of the
$module property is 'user', that means that it would use a CT_*
container for the storage.
TTT> what about using this under php3? the file in php/session/session3.inc is
TTT> different than the 7.2c session.inc file. which file should i use if my
TTT> app was to be used for both php4 or php3? should i use
TTT> php/session/session3.inc or session.inc from phplib-7.2c?
I don't know. I haven't used session3.inc from the current CVS. I
guess you should use that class only if you know what you are doing.
Otherwise use the stable version from 7.2c.
-- Best regards, Maxim 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: Martin Burger: "Re: [phplib] Apache, PHP4, PHPLIB, include_path"
- Previous message: Marc Fournier: "Re: [phplib] Question about the sessions"
- In reply to: Thomas T. Thai: "Re: [phplib] phplib 4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

