Date: 10/27/99
- Next message: Kristian Koehntopp: "[PHPLIB-DEV] Re: [PHPLIB] Memory or code/seesion problem?"
- Previous message: serghej petrov: "[PHPLIB-DEV] Memory or code/seesion problem?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Well, I did followed Kris' advices and I came up with a better
session serialization than before.
I'm not using anymore any globals and took care or $persistent_slots
Note that I think one who uses persistent slots for a large object
would usually either need whole object persistent or a lots of it's
propreties, so I instead unset the unneeded props, and serialize *that*
object.
The problem with the unset ones is solved when calling new ObjClass
in Session::thaw() on the next request.
So now, I think this should be backward compatible.
This diff is against the original session.inc from 7.2
email protected>?subject=Re:%20[PHPLIB-DEV]%20changes%20to%20session.inc%20-%20coming%20back&replyto=381744D8.E56F7499 <email protected>">guest <email protected>/devel/php/phplib-7/out/session.inc.diff">http://guest:guest <email protected>/devel/php/phplib-7/out/session.inc.diff
Also, concerning the compatibility of ct_sql.inc I added a small change
but didn't test it yet. Can somebody using Postgres send me some data
produced by the 1.14 (I think) version of it, so I can test it?
I would generate it but I'm lazy @ this moment and though it's easier to
ask :>
cheers,
-- CIMPOESU Teodor, Web Programmer@ DIGICOM S.A. Bucharest, Romania @ Internet, site development @ teo <email protected>,+(401)-330.47.28
official home page ~ http://www.digiro.net/ Internet web page ~ http://internet.digiro.net/ - PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in the body, not the subject, of your message.
- Next message: Kristian Koehntopp: "[PHPLIB-DEV] Re: [PHPLIB] Memory or code/seesion problem?"
- Previous message: serghej petrov: "[PHPLIB-DEV] Memory or code/seesion problem?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

