邮件列表#372信息webobjects-dev@wocommunity.org
从: Markus Ruggiero (rucotec) <markus.ruggiero@rucotec.ch>
主题: Re: [WO-DEV] AjaxPing active in the background
日期: Thu, 30 Jun 2022 16:17:56 +0200
到: WebObjects & WOnder Development <webobjects-dev@wocommunity.org>
签署数字签名 (Text SHA256)
never mind, it wasn’t the AjaxPing but the page included various subcomponents that themselves included subs and one of them had a periodic AjaxUpdateContainer set to update every 2 seconds. And that particular component was included on other pages as well. So even navigating away did not stop the ping (well, it did but the next page initiated the periodic again)

> On 29 Jun 2022, at 15:51, Markus Ruggiero (rucotec) <markus.ruggiero@rucotec.ch> wrote:
>
> It seems that an AjaxPing remains actively pinging even when the page is not the front most anymore but has been moved into the page cache. Can this even be true? How could I stop the AjaxPing when leaving the page (and possibly reactivate it when returning back to the page via browser back button)? I see updates in the Eclipse console even when I navigate away to other pages.
>
> Thanks a lot for any help
> ---markus---
>


内容依旧作为验证方:
<markus.ruggiero@rucotec.ch>
签署(FEED) 签署(DIGEST) 签署(INDEX) 不签署 联系 Listmaster