Please use the php-general mailing list for support about using PHP.
You need to include the class and use session_start() in file2.php too.
On Wed, 3 Oct 2001, Ming-Chieh Lee wrote:
> Hello,
> I have a question on how to pass object variable from page to page. Here is
> something that I foun
Hello,
I have a question on how to pass object variable from page to page. Here is
something that I found, but it doesn't work. I would greatly appreciate if
someone can help:
1. does it matter if I include first, then so session_start()?
file1.php
who = "me";
// this is where my doubt reside