RE: [PHP] Re: Problem with sessions.(Again Sorry :)

2002-07-21 Thread John Holmes
> From: Richard Lynch [mailto:[EMAIL PROTECTED]] > > >> Don't cram things into $_SESSION. Use this: > >> > >> session_register('uid'); > >> global $uid; > >> $uid = $uinfo[0]; > > > >With PHP 4.2, you don't have to use session_register. You can do it > >exactly like the OP is. I do it all the ti

Re: [PHP] Re: Problem with sessions.(Again Sorry :)

2002-07-21 Thread Richard Lynch
>> Don't cram things into $_SESSION. Use this: >> >> session_register('uid'); >> global $uid; >> $uid = $uinfo[0]; > >With PHP 4.2, you don't have to use session_register. You can do it >exactly like the OP is. I do it all the time. Whether that is a >"feature" or a bug, I don't know. It happen