Re: session module
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 need a non-static version of php_session_start?
What do you think?
- Brad
--- Yasuo Ohgaki <yasuo_ohgaki@yahoo.com> wrote:
> derick@php.net 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_session_vars) will
> lead inconsistency with global variables unless
> PS(vars) are taken care of.
> (there are enough inconsistency between
> global session vars and $HTTP_SESSION_VARS, though)
>
> Call for new function?
>
> --
> Yasuo Ohgaki
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
Thread (8 messages)