Re: Class variable value lost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sumit Sharma wrote:
> Hi,
> 
> I have developed a listing site which is totally class based. Now when it
> authenticates a user login and set appropriate class variables to true and
> set user info in user class variables, value of all the set variables are
> lost when I forward the user to members page. When I check the the value on
> other page it is set to the default value of the class. Please help.
> 
> 
> Regard,
>    Sumit
> 

You needs to pass the object to the next page.  Look into sessions.

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux