[PHP-DEV] Session module expansion [comments please]

2002-04-29 Thread Dan Hardiker
I previously wrote (and fear it got lost in the storm of debate over Your work around is how Im doing things at the moment (very annoying > picking up and dropping sessions). PHP's limitation currently is that > it can only handle one session at a time, and as thus, only one set of > session vari

[PHP-DEV] Session module patch against lastest CVS HEAD

2002-03-01 Thread Yasuo Ohgaki
Hi all, I took out session module patch against latest CVS HEAD for your convenience. Please let me know if you find problems in this patch. -- Yasuo Ohgaki Index: mod_files.c === RCS file: /repository/php4/ext/session/mod_file

Re: [PHP-DEV] session module

2002-01-16 Thread Yasuo Ohgaki
brad lafountain wrote: > I looked at your changes to php_session.h. > I saw that you added PHPAPI to the .h but don't you > need to add them to session.c too? Thanks, I forgot to commit session.c. I'll commit it later :) > > Additionally i think > php_get_session_var and php_set_session_var sho

Re: [PHP-DEV] session module

2002-01-16 Thread brad lafountain
I looked at your changes to php_session.h. I saw that you added PHPAPI to the .h but don't you need to add them to session.c too? Additionally i think php_get_session_var and php_set_session_var should be exported also. i think we need PHPAPI int ps_globals_id too As for startup, we probally nee

Re: [PHP-DEV] session module

2002-01-15 Thread Yasuo Ohgaki
[EMAIL PROTECTED] wrote: > Hello, > > Sessions are complex enough already. Doing hacks on the hash by yourself > is a very bad idea IMO. > > Derick I agree, it could be a bad idea. I only remeber how session module initilizes $HTTP_SESSION_VARS/$_SESSION. Besides, adding element to PS(http_se

Re: [PHP-DEV] session module

2002-01-15 Thread derick
Hello, Sessions are complex enough already. Doing hacks on the hash by yourself is a very bad idea IMO. Derick On Wed, 16 Jan 2002, Yasuo Ohgaki wrote: > brad lafountain wrote: > > I tried that and it works... but.. > > > > if the session isn't started then the hash isn't created.. > > and the

Re: [PHP-DEV] session module

2002-01-15 Thread Yasuo Ohgaki
brad lafountain wrote: > I tried that and it works... but.. > > if the session isn't started then the hash isn't created.. > and there isn't a way to start it, is there? > I would like it so i don't have to use > call_user_function(); > > I still think the session extension would make a nice ap

Re: [PHP-DEV] session module

2002-01-15 Thread brad lafountain
I tried that and it works... but.. if the session isn't started then the hash isn't created.. and there isn't a way to start it, is there? I would like it so i don't have to use call_user_function(); I still think the session extension would make a nice api. - Brad --- Yasuo Ohgaki <[EMAIL P

Re: [PHP-DEV] session module

2002-01-14 Thread Yasuo Ohgaki
Brad Lafountain wrote: > I was wondering if the session module would export > some of it's functions so that other extensions could > use the session module directly. > In my extension I would like to register a session variable > with out using call_user_function. > > Does anyone else think so?

[PHP-DEV] session module

2002-01-14 Thread brad lafountain
I was wondering if the session module would export some of it's functions so that other extensions could use the session module directly. In my extension I would like to register a session variable with out using call_user_function. Does anyone else think so? - Brad ___