[phplib] duplicate class function in "Session" Ver 7.2c From: Dennis Gearon (gearond <email protected>)
Date: 08/02/00

I have looked -throroughly- through class Session in "session.inc". As
far as I can tell the function 'gc()' is duplicated, but not the same.
For those who are interested, this is the object model/structure chart I
came up with after a couple hours of pouring through it (please feel
free to add/delete/correct any missing functions, etc. And btw, explain
the 'that' class, please):
------------------------------------------------------------------------
Object Model (not in any standard methodology)

Class Session //VERSION 7.2C
    PROPERTIES
        $classname
        $magic
        $mode
        $fallback_mode
        $lifetime
        $cookie_domain
        $gc_time
        $gc_probablity
        $auto_init
        $secure_auto_init
        $allowcache
        $allowcache_expire
        $that_class
        $name
        $id
        $that
        $pt
        $in
    METHODS (with structure chart, '**' = method in this class)
        register()
            explode()
            reset()
            list()
            trim()
        is_registered()
        unregister()
            explode()
            reset()
            list()
            trim()
            unset()
        get_id()
            isset()
            that->ac_newid()
            uniqid()
            md5()
            SetCookie()
            time()
            ereg_replace()
            urlencode()
        put_id()
            SetCookie()
        delete()
            that->ac_delete()
          **put_id()
        url($url)
            ereg_replace()
            strpos()
            urlencode()
        purl()
          **url()
        self_url()
          **url()
            issent()
        pself_url()
          **self_url()
        hidden_sessions()
        add_query()
            isset()
            list()
            each()
            urlencode()
        padd_query()
          **add_query()
        serialize()
            eval()
            reset()
            gettype()
            list()
            each()
          **serialize() // !!recursion!!
            gettype()
            ereg_replace()
        get_lock()
            that->ac_get_lock()
        release_lock()
            that->ac_release_lock()
        freeze()
            serialize()
            reset()
            list()
            each()
            trim()
            that->ac_store()
            release_lock()
            that->ac_halt()
        thaw()
            get_lock()
            that->ac_get_values()
            eval()
            sprintf()
        gc() // ERROR, THIS IS DUPLICATED IN FILE
            that->ac_gc()
        reimport_get_vars()
          **reimport_any_vars()
        reimport_post_vars()
          **reimport_any_vars()
        reimport_cookie_vars()
          **reimport_any_vars()
        reimport_any_vars()
            is_array()
            reset()
            list()
            each()
        set_container()
            that->ac_start()
        set_tokenname()
        release_token()
            isset()
          **get_id()
            header()
          **self_url()
        put_headers()
            gmdate()
            time()
            header()
            getlastmod()
        gc() // ERROR, THIS IS DUPLICATED IN FILE
            srand()
            time()
            rand()
            that->ac_gc()
        start()
          **set_container()
          **set_tokenname()
          **release_token()
          **put_headers()
          **get_id()
          **thaw()
          **gc()

-- 
________________________________________________________________
Dennis K. Gearon (Kegley)                           Loyal Member
Scientific Instrument Technician, School of EIT       of The 
Oregon Institute of Technology                       Order of
- One of USA's 100 Best College Buys                  T-U-X
3201 Campus Drive                             ~
Klamath Falls, OR 97601                      'v'    standards
Voice   1-541-885-1563                      // \    corrupters -
FAX     1-541-885-1689                     /(   )\   beware
email   gearond <email protected>                     ^`~'^   the penguin 
________________________________________________________________
Happiness is when you want to go to your job in the morning and 
when you want to go home in the evening.
________________________________________________________________

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