Re: Re: Class variable value lost

From: Date: Wed, 09 Sep 2009 18:40:31 +0000
Subject: Re: Re: Class variable value lost
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-297839@lists.php.net to get a copy of this message
> 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 page for the user (bad imho, as it relies on >        Javascript) I think any AJAX-based approached would run into the same difficulty, because each AJAX call is a separate HTTP request from the one that originally loaded the page (and from every other AJAX call). Ben

« previous php.general (#297839) next »