[wildfly-dev] Registering session activity in Wildfly

Stuart Douglas stuart.w.douglas at gmail.com
Wed Jul 25 21:38:41 EDT 2018


It will only count as an event if something calls getSession(). If say you
just request a static file or some other resource that does not use the
session then it will not reset the session timeout.

If you want to change this behaviour you could just write a filter that
calls getSession(false) on every request.

Stuart

On Thu, Jul 26, 2018 at 11:22 AM Nolan, Boyd <Boyd.Nolan at tylertech.com>
wrote:

> Hello All,
>
> This may not be exactly the right forum / audience to ask this question,
> and if so please accept my apologies in advance. That being said, I need to
> understand what actions or events inside of Wildfly / Undertow are
> recognized as valid activity relating to the session timeout. I’m battling
> some issues in a web application where a user is doing legitimate actions
> via ajax that are being processed through wildfly, but they still end up
> getting their session terminated even though they are legitimately active.
> Is it a limited class or category of session event that is recognized as
> activity, which should result in resetting the timer for the session
> timeout?
>
>
>
> Does anyone know, or can you point me to the information that explains it?
>
>
>
>
> *J. Boyd Nolan, P.E.*
> Director of Technical Development
> Tyler Technologies, Inc.
>
> P: 214.593.6733
>
> www.tylertech.com
>
>
>
> [image: Tyler Technologies] <https://www.tylertech.com/>
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20180726/81638aa9/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 32768 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/wildfly-dev/attachments/20180726/81638aa9/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 32768 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/wildfly-dev/attachments/20180726/81638aa9/attachment-0003.png 


More information about the wildfly-dev mailing list