> The object only exists for that instance of the script, so when the user
> navigates to the next page, the object is freed up from the memory.
> There are a couple of ways you could get round this:
>
> * don't navigate away from the page, and use AJAX calls to update
> parts of the pa
his
> is a separate issue than setting $_SESSION variables.
>
>
>
>
>
> -- Forwarded message --
> From: Ashley Sheridan
> Date: Wed, Sep 9, 2009 at 9:14 PM
> Subject: Re: [PHP] Re: Class variable value lost
> To: Shawn McKenzie
> Cc: Sumit Sharma
On Wed, Sep 9, 2009 at 11:58 AM, Sumit Sharma wrote:
> What I have done is declared one User class in a separate file and created
> its object there only. After this included this file in all other file which
> are using its object. So the object is creating only once and included in
> every other
On Wed, 2009-09-09 at 10:36 -0500, Shawn McKenzie wrote:
> 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 o
4 matches
Mail list logo