Re: Re: Class variable value lost

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

 



> 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

-- 
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