Re: [PHP] sessions not registering inside a function.

2004-01-23 Thread Jarratt Ingram
Thank you John, I did manage to get it working by calling global $AuthUser after i ran the function on the main page and it seems to have resolved the issue. have a good weekend J On Fri, 2004-01-23 at 16:38, John W. Holmes wrote: > From: "Jarratt Ingram" <[EMAIL PROTECTED]> > > > I have cre

Re: [PHP] sessions not registering inside a function.

2004-01-23 Thread John W. Holmes
From: "Jarratt Ingram" <[EMAIL PROTECTED]> > I have created a login system, which works as expected on php 4.2. When > i was asked to move it onto an older server using 4.0.6, the system > stopped registering sessions. > > main page: > > function login($username, $password){ > global $HTTP_SESSIO

[PHP] sessions not registering inside a function.

2004-01-23 Thread Jarratt Ingram
Hello All, I have created a login system, which works as expected on php 4.2. When i was asked to move it onto an older server using 4.0.6, the system stopped registering sessions. main page: http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php