Re: [PHP-DEV] session_set_save_handler and session_start

2003-02-11 Thread michel
On Tue, 11 Feb 2003, [EMAIL PROTECTED] wrote: > http://www.ziobudda.net/test/session4-2.php (PHP4) > http://www.ziobudda.net:81/test/session4-2.php (PHP5) ops :%s/php/phps/g bye -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] session_set_save_handler and session_start

2003-02-11 Thread michel
On Tue, 11 Feb 2003, [EMAIL PROTECTED] wrote: > On Tue, 11 Feb 2003, Stephen Thorne wrote: > > > no, but my example is get from session/tests/003.phpt > > > So if the original example/test is wrong... > > > I'm curious, did passing the objects by reference work? > > Nope. Hi list. I think that

Re: [PHP-DEV] session_set_save_handler and session_start

2003-02-11 Thread michel
On Tue, 11 Feb 2003, Stephen Thorne wrote: > > no, but my example is get from session/tests/003.phpt > > So if the original example/test is wrong... > I'm curious, did passing the objects by reference work? Nope. http://www.ziobudda.net:81/test/session4.php source: http://www.ziobudda.net:81/t

Re: [PHP-DEV] session_set_save_handler and session_start

2003-02-10 Thread michel
On Mon, 10 Feb 2003, Stephen Thorne wrote: > Just a thought - have you tried passing $hnd by reference? > > array(&$hnd, "open_session") no, but my example is get from session/tests/003.phpt So if the original example/test is wrong... > Otherwise when you try and set state in the class for it

Re: [PHP-DEV] session_set_save_handler and session_start

2003-02-09 Thread Stephen Thorne
Just a thought - have you tried passing $hnd by reference? array(&$hnd, "open_session") Otherwise when you try and set state in the class for it to be accessed elsewhere, it won't work because you've got (in this case) 6 distinct copies of the class used in handlers, and presumably a 7th (the o

[PHP-DEV] session_set_save_handler and session_start

2003-02-09 Thread michel 'ziobudda' morelli
Hi, I'm tryng new possibility to set a session handler via class: session_set_save_handler(array($hnd, "open_session"), array($hnd, "close_session"), array($hnd, "read_session"), ar