Hello Manfred,

AFAIK websocket ping messages will not update HTTP session.
You can set up AbstractAjaxTimerBehavior or send pure JS HTTP request
to refresh the session

On Sat, Sep 16, 2017 at 7:34 PM, Manfred Bergmann
<[email protected]> wrote:
>
> Hi,
>
> On Sat, Sep 16, 2017 at 1:32 PM, Manfred Bergmann &lt;mb@&gt;
> wrote:
>
>> Found a different solution.
>>
>> Followed the advice here:
>> https://issues.apache.org/jira/browse/WICKET-5453
>>
>> Where you can set the default idle timeout on the
>> WebSocketServerContainerInitializer.
>>
>
> This is a good start!
> But if there is a proxy involved then you will need to do the same there
> too.
> Better send heartbeat messages once in a while, e.g. every minute.
>
>
>
> OK. I'm not exactly certain how I would do that.
> Do you mean a timer on the server side which sends some message over the
> websocket,
> or some behavior, as suggested by Maxim?
>
> How do I handle that when the panel got disposed?
>
>
> Manfred
>
> --
> Sent from: 
> http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
WBR
Maxim aka solomax

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to