Re: [PHP] Problem grabbing value of session

2002-04-16 Thread Jeff Lewis
TED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, April 16, 2002 2:42 PM Subject: Re: [PHP] Problem grabbing value of session > > On Tuesday, April 16, 2002, at 02:40 PM, Jeff Lewis wrote: > > > Right after I call those I try a is_registered and it showed that these > >

Re: [PHP] Problem grabbing value of session

2002-04-16 Thread Kevin Stone
I think the problem is one of scope.. though I have never tried starting a session inside a function so I really don't know how it operates. But if you do something like.. // function is_valid($user, $privs) { // validate user.. if ($valid) {return TRUE;} } if (is_va

Re: [PHP] Problem grabbing value of session

2002-04-16 Thread Erik Price
On Tuesday, April 16, 2002, at 02:40 PM, Jeff Lewis wrote: > Right after I call those I try a is_registered and it showed that these > registered correctly. I removed that code and added a call to another > function: redirectinternal(); You can avoid the whole "session_register()" business if