> Hmmm, it seems that "obj" is not saved to the session file.
>
>
> I don't thik that & before new is needed.
This is weird :) It worked when I removed the & (thought that I tried that
;). Now I just can't remember why I put it there in the first place. I hope
it wasn't importent ... well I w
estoring to be as before saving.
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
99%
- Original Message -
From: "Thomas Watson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 30, 2001 2:18 PM
Subject: Re: [PHP] Sessions in classes dosn't work!?
> This is because $foo is local to the member functions of the class.
> declare global $foo at the start of every function.
Ok thnx... it worked... but how do you then explain this?:
***
foo = $bar;
}
function getFoo() {
This is because $foo is local to the member functions of the class. declare global
$foo at the start of every function.
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
99%
- Original Message -
From: "Thomas Watson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, Aug
4 matches
Mail list logo