You could extend your existing AjaxSelfUpdatingTimerBehavior so it has
an information about your desired timeout with very little overhead.

On every update, you could decrement your remaining session time a
little bit.

I created the following gist. I think the code is more explanatory than
an email:

Hope that helps,

On Thu, 2016-09-22 at 03:38 -0700, Sandor Feher wrote:
> Hi,
> My application have some AjaxSelfUpdatingTimerBehavior in its header
> panel
> so my session never expires due to ajax requests. Somehow I would
> like to
> get rid of it.
> How is it possible to fence ajax request from the real request ? (As
> I
> realized there is no way.)
> I need an advice how to handle this screnario.
> Wicket 6.24.0
> TIA, Sandor
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.
> com/Handling-session-timeout-properly-tp4675541.html
> Sent from the Users forum mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to